同 utils.accountBlock.getAccountBlock
异步获取accountBlock
Parameters __namedParameters: object
blockType: BlockType
accountAddress: Address
fromBlockHash?: Hex
data?: Base64
message?: string
toAddress?: Address
tokenId?: TokenId
amount?: BigInt
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
nonce?: Base64
Return:
AccountBlock
>获取注册SBP的accountBlock
__namedParameters: object
accountAddress: Address
nodeName: string
toAddress: Address
tokenId: TokenId
amount: BigInt
Gid?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取更新注册SBP的accountBlock
__namedParameters: object
accountAddress: Address
nodeName: string
toAddress: Address
tokenId: TokenId
Gid?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取取消注册SBP的accountBlock
__namedParameters: object
accountAddress: Address
nodeName: string
tokenId: TokenId
Gid?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取奖励的accountBlock
__namedParameters: object
accountAddress: Address
nodeName: string
toAddress: Address
tokenId: TokenId
Gid?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取投票的accountBlock
__namedParameters: object
accountAddress: Address
nodeName: string
tokenId: TokenId
Gid?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取撤销投票的accountBlock
__namedParameters: object
accountAddress: Address
tokenId: TokenId
Gid?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取配额的accountBlock
__namedParameters: object
accountAddress: Address
toAddress: Address
tokenId: TokenId
amount: BigInt
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>获取取消配额的accountBlock
__namedParameters: object
accountAddress: Address
toAddress: Address
tokenId: TokenId
amount: BigInt
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式AccountBlock
>同 utils.accountBlock.getSendTxBlock
获取发送交易的accountBlock
accountAddress: Address
toAddress: Address
tokenId: TokenId
amount: BigInt
message?: string
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
AccountBlock
>同 utils.accountBlock.getReceiveTxBlock
获取接收交易的accountBlock
accountAddress: Address
fromBlockHash: Hex
prevHash?: Hex
height?: Uint64
snapshotHash?: Hex
AccountBlock
>获取创建合约的accountBlock
Parameters
__namedParameters: object
accountAddress: Address
tokenId: TokenId
amount: BigInt
fee: BigInt,
hexCode: Hex
abi: string
params?: stirng
height?: Uint64
prevHash?: Hex
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式Return:
AccountBlock
>获取调用合约的accountBlock
Parameters
__namedParameters: object
accountAddress: Address
toAddress: Address
abi: string
tokenId: TokenId
amount: BigInt
methodName: stirng
params?: stirng
height?: Uint64
prevHash?: Hex
snapshotHash?: Hex
requestType: string<'async' | 'sync'>
规范化accountBlock时,使用同步还是异步方式Return:
AccountBlock
>