NodeJS + Browser
address.verify(message, signature) ⇒ boolean
booleanParam
Type
Address.from_private_key(private_key) ⇒ Address
AddressParam
Type
Address.from_view_key(view_key) ⇒ Address
AddressParam
Type
Address.from_string(address) ⇒ Address
AddressParam
Type
ExecutionResponse
executionResponse.getOutputs() ⇒ Array.<any>
Array.<any>KeyPair
new KeyPair(proving_key, verifying_key)
Param
Type
keyPair.provingKey() ⇒ ProvingKey
ProvingKeykeyPair.verifyingKey() ⇒ VerifyingKey
VerifyingKeyPrivateKey
new PrivateKey()
privateKey.to_string() ⇒ string
stringprivateKey.to_view_key() ⇒ ViewKey
ViewKeyprivateKey.to_address() ⇒ Address
AddressprivateKey.sign(message) ⇒ Signature
SignatureParam
Type
privateKey.toCiphertext(secret) ⇒ PrivateKeyCiphertext
PrivateKeyCiphertextParam
Type
PrivateKey.from_seed_unchecked(seed) ⇒ PrivateKey
PrivateKeyParam
Type
PrivateKey.from_string(private_key) ⇒ PrivateKey
PrivateKeyParam
Type
PrivateKey.newEncrypted(secret) ⇒ PrivateKeyCiphertext
PrivateKeyCiphertextParam
Type
PrivateKey.fromPrivateKeyCiphertext(ciphertext, secret) ⇒ PrivateKey
PrivateKeyParam
Type
PrivateKeyCiphertext
privateKeyCiphertext.decryptToPrivateKey(secret) ⇒ PrivateKey
PrivateKeyParam
Type
privateKeyCiphertext.toString() ⇒ string
stringPrivateKeyCiphertext.encryptPrivateKey(private_key, secret) ⇒ PrivateKeyCiphertext
PrivateKeyCiphertextParam
Type
PrivateKeyCiphertext.fromString(ciphertext) ⇒ PrivateKeyCiphertext
PrivateKeyCiphertextParam
Type
Program
program.toString() ⇒ string
stringprogram.getFunctions() ⇒ Array.<any>
Array.<any>program.getFunctionInputs(function_name) ⇒ Array.<any>
Array.<any>Param
Type
program.getRecordMembers(record_name) ⇒ object
objectParam
Type
program.getStructMembers(struct_name) ⇒ Array.<any>
Array.<any>Param
Type
program.id() ⇒ string
stringprogram.isEqual(other) ⇒ boolean
booleanParam
Type
program.getImports() ⇒ Array.<any>
Array.<any>Program.fromString(program) ⇒ Program
ProgramParam
Type
Program.getCreditsProgram() ⇒ Program
ProgramProvingKey
provingKey.toBytes() ⇒ Uint8Array
Uint8ArrayProvingKey.fromBytes(bytes) ⇒ ProvingKey
ProvingKeyParam
Type
RecordCiphertext
recordCiphertext.toString() ⇒ string
stringrecordCiphertext.decrypt(view_key) ⇒ RecordPlaintext
RecordPlaintextParam
Type
recordCiphertext.isOwner(view_key) ⇒ boolean
booleanParam
Type
RecordCiphertext.fromString(record) ⇒ RecordCiphertext
RecordCiphertextParam
Type
RecordPlaintext
recordPlaintext.toString() ⇒ string
stringrecordPlaintext.microcredits() ⇒ bigint
bigintrecordPlaintext.serialNumberString(private_key, program_id, record_name) ⇒ string
stringParam
Type
RecordPlaintext.fromString(record) ⇒ RecordPlaintext
RecordPlaintextParam
Type
Signature
signature.verify(address, message) ⇒ boolean
booleanParam
Type
signature.to_string() ⇒ string
stringSignature.sign(private_key, message) ⇒ Signature
SignatureParam
Type
Signature.from_string(signature) ⇒ Signature
SignatureParam
Type
Transaction
transaction.toString() ⇒ string
stringtransaction.transactionId() ⇒ string
stringtransaction.transactionType() ⇒ string
stringTransaction.fromString(transaction) ⇒ Transaction
TransactionParam
Type
VerifyingKey
verifyingKey.toBytes() ⇒ Uint8Array
Uint8ArrayVerifyingKey.fromBytes(bytes) ⇒ VerifyingKey
VerifyingKeyParam
Type
ViewKey
viewKey.to_string() ⇒ string
stringviewKey.to_address() ⇒ Address
AddressviewKey.decrypt(ciphertext) ⇒ string
stringParam
Type
ViewKey.from_private_key(private_key) ⇒ ViewKey
ViewKeyParam
Type
ViewKey.from_string(view_key) ⇒ ViewKey
ViewKeyParam
Type
Last updated