API Documentation

Explore all methods and features of the @beatoz/web3 SDK.

RPC Methods

statusGet node status
getAccountGet account information
broadcastTxCommitBroadcast transaction and wait for commit
txGet transaction by hash

Accounts

create()Create new account
privateKeyToAccount()Import from private key
TrxProtoBuilder.signTrxProto()Sign transaction

Contracts

new Contract()Create contract instance
deploy(...).send()Deploy contract
methodsCall contract methods

Utilities

toFons(value, 'beatoz')Convert to smallest unit
fromFons(value, 'beatoz')Convert from smallest unit
keccak256()Hash function

Full SDK Documentation

For more detailed SDK documentation, visit GitBook.

View GitBook Docs