API 문서

@beatoz/web3 SDK의 모든 메서드와 기능을 확인하세요.

RPC 메서드

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

계정

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

컨트랙트

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

유틸리티

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

전체 SDK 문서

더 자세한 SDK 문서는 GitBook에서 확인하세요.

GitBook 문서 보기