Const
Build a transaction hash the same as Auth.tx_hash
by GaMetaTx payload
Transaction hash
Convert current account to GA
Authorization function name
init arguments
Options
General Account Object
Get account by account public key
Account address (public key)
Options
Optional
hash?: `kh_${string}` | `mh_${string}`Get account on specific block by micro block hash or key block hash
Optional
height?: numberGet account on specific block by block height
Node to use
Request the balance of specified account
The public account address to obtain the balance for
Options
Get contract entry
Get contract byte code
Obtain current generation
Current Generation
Get generation by hash or height
Generation
Get key block
Key Block
Get micro block header
Micro block header
Get name entry
Submit transaction of another account paying for it (fee and gas)
tx_
Options
Object Transaction
Return transaction details if it is mined, fail otherwise. If the transaction has ttl specified then would wait till it leaves the mempool. Otherwise would fail if a specified amount of blocks were mined.
The transaction as it was mined
Resolve AENS name and return name hash
AENS name or address
in AENS pointers record
Options
Node to use
Optional
resolveEnables pointer resolving using node
Optional
verify?: booleanTo ensure that name exist and have a corresponding pointer // TODO: avoid that to don't trust to current api gateway
Address or AENS name hash
Signs and submits transaction for mining
Transaction to sign and submit
Options
Transaction details
Send coins to another account
Amount to spend
Address or name of recipient account
Options
Transaction
Spend a fraction of coin balance to another account. Useful if needed to drain account balance completely, sending funds to another account (with fraction set to 1).
Fraction of balance to spend (between 0 and 1)
Address or name of recipient account
Options
Transaction dry-run
transaction to execute
address that will be used to execute transaction
Options
Optional
combine?: booleanEnables combining of similar requests to a single dry-run call
Node to use
Optional
top?: number | `kh_${string}` | `mh_${string}`hash of block on which to make dry-run
Optional
txcollect and return on-chain tx events that would result from the call
Wait for transaction confirmation
Current Height
Type