invokeMultiple
最后更新于
最后更新于
Invoke Multiple functions the same as Invoke, but accepts inputs to execute multiple invokes in the same transaction.
Parameter | Description |
---|---|
Parameter | Description |
---|---|
Parameter | Description |
---|---|
In the case where the "broadcastOverride" input argument is not set, or set to false.
In the case where the "broadcastOverride" input argument is set to True.
Parameter | Description |
---|---|
Parameter | Description |
---|---|
Parameter | Description |
---|---|
txid: string
The transaction ID of the invocation
nodeURL: string
The node which the transaction was broadcast to. Returned if transaction is broadcast by wallet provider
signedTx: string
The serialized signed transaction. Only returned if the broadcastOverride input argument was set to True
type: string
The type of error which has occured
description: string
A description of the error which has occured
data: string
Any raw data associated with the error
fee?: string
If a fee is specified then the wallet SHOULD NOT override it, if a fee is not specified the wallet SHOULD allow the user to attach an optional fee
extraSystemFee?: string
This fee will be added to system fee
overrideSystemFee?: string
This fee will override the system fee
Array of contract invoke inputs
broadcastOverride?: boolean
If this flag is set to True, the wallet provider will return the signed transaction rather than broadcasting to a node.
Sender and the effective scope of signature
scriptHash: string
The script hash of the contract that you wish to invoke
operation: string
The operation on the smart contract that you wish to call. This can be fetched from the contract ABI
A list of arguments necessary to perform on the operation you wish to call
type: 'String' | 'Boolean' | 'Hash160' | 'Hash256' | 'Integer' | 'ByteArray' | 'Array' | 'Address'
The type of the argument with you are using
value: any
String representation of the argument which you are using