FunctionCallRaw
Last updated
Last updated
• Docs
/ / FunctionCallRaw
A function call raw promise action.
new FunctionCallRaw(
functionName
,args
,amount
,gas
):
Parameters
• functionName: string
The name of the function to be called.
• args: Uint8Array
The arguments to be passed to the function.
• amount: bigint
The amount of NEAR to attach to the call.
• gas: bigint
The amount of Gas to attach to the call.
Returns
Overrides
Defined in
amount:
bigint
The amount of NEAR to attach to the call.
Defined in
args:
Uint8Array
The arguments to be passed to the function.
Defined in
functionName:
string
The name of the function to be called.
Defined in
gas:
bigint
The amount of Gas to attach to the call.
Defined in
add(
promiseIndex
):void
The method that describes how a promise action adds it's action to the promise batch with the provided index.
Parameters
The index of the promise batch to attach the action to.
Returns
void
Overrides
Defined in
.
• promiseIndex:
.