All Account methods
All methods that can be called by an account instance.
Method | Parameters | Return | Description |
---|---|---|---|
getBalance |
|
| Gets that account instance's balance |
getNonce |
|
| Gets that account instance's nonce |
getAddress |
|
| Gets that account instance's address |
sync |
|
| Syncs that account instance's balance and nonce with the provided node. |
getInfo |
|
| Returns that address' info from the provided node. |
buildTransaction |
|
| Builds a simplified transaction into a transaction ready to be signed. |
signMessage |
|
| Uses the account instance private key to sign any message. |
signTransaction |
|
| Uses the account instance private key to sign a transaction. |
quickSend |
|
| Simplifies the build/sign/broadcast flow into a single method. |
downloadAsPem |
|
| Saves the |
broadcastTransactions |
|
| Broadcasts an array of transactions to the provided node. |
validateSignature |
|
| Checks if a signature is compatible with a given address and message. |
Last updated