Skip to main content
Please note: The Tezos RPC standard is still under review and specifications may change. Implementation details and method signatures are subject to updates.

tezos_getAccounts

This method returns an array of public keys, which correspond to keypairs available in the wallet for signing.

Parameters

none

Returns

1.Array - Array of accounts: 1.1. Object - Account Data object with parameters: 1.1.1. algo : STRING - algorithm used for signing 1.1.2. address : STRING - corresponding address for keypair 1.1.3. pubkey : STRING - public key for keypair

Example

tezos_send

This method returns a hash for the provided operations. They will be signed by the keypair corresponding to the requested signer address and sent to the blockchain.

Parameters

  1. Object - Signing parameters: 1.1. account : STRING - corresponding address for keypair 1.2. operations : Array - operations to be signed: 1.2.1. Object - identifier of blockchain 1.2.1.1. kind : STRING - type of the operation 1.2.1.2. destination : STRING - recipient of the operation 1.2.1.3. amount : STRING - mutez amount 1.2.1.4. fee : STRING - (optional) operation fee - NOTE: Not all wallets will respect this value because it’s usually set by the wallet depending on network usage 1.2.1.5. gas_limit : STRING - (optional) integer of the gas_limit 1.2.1.6. storage_limit : STRING - (optional) integer of the storage_limit 1.2.1.7. parameters : Object - (optional) contract call data
Note: All RPC Operations are valid. The above definition describes only the most common operation type.

Returns

  1. Object - Signing parameters: 1.1. operationHash : STRING - hash of the operation

Example

tezos_sign

This method returns a signature for the provided payload. It will be signed by the keypair corresponding to the requested signer address.

Parameters

  1. Object - Signing parameters: 1.1. account : STRING - corresponding address for keypair 1.2. payload : STRING - payload to be signed

Returns

  1. Object - Signing parameters: 1.1. signature : STRING - signature for signed payload

Example