Translations: API/13/ko
From ArdorDocs
From | To | Code |
---|---|---|
Secret Phrase | Public Key | NRS.getPublicKey(converters.stringToHexString(secretPhrase))
|
Public Key | String ID | NRS.getAccountIdFromPublicKey(publicKeyHexString)
|
String ID | Public Key | NRS.getPublicKey(id, true)
|
String ID | RS Format | NRS.convertNumericToRSAccountFormat(id)
|
byte[] | Hex String | converters.byteArrayToHexString(bytes)
|
Hex String | byte[] | converters.hexStringToByteArray(hex)
|
Full Hash | ID | NRS.fullHashToId(fullHash)
|
Epoch Time | Time Millis | NRS.fromEpochTime(epochTime)
|
Time Millis | Epoch Time | NRS.toEpochTime(time)
|
String | byte[] | NRS.getUtf8Bytes(String), converters.stringToByteArray(String)
|
byte[] | String | converters.byteArrayToString(bytes)
|
NQT | Chain tokens | NRS.intToFloat(amountNQT, decimals)
|
NQT | formatted | NRS.formatQuantity(amountNQT, decimals) – many different variants
|
Chain tokens | NQT | NRS.floatToInt(amountNXT, decimals)
|