Interface: FunctionCallOptions
account.FunctionCallOptions
Options used to initiate a function call (especially a change function call)
See
viewFunction to initiate a view function call
Hierarchy
FunctionCallOptions
Properties
args
args: object
named arguments to pass the method { messageText: 'my message' }
Defined in
attachedDeposit
Optional attachedDeposit: BN
amount of NEAR (in yoctoNEAR) to send together with the call
Defined in
contractId
contractId: string
The NEAR account id where the contract is deployed
Defined in
gas
Optional gas: BN
max amount of gas that method call can use
Defined in
jsContract
Optional jsContract: boolean
Is contract from JS SDK, automatically encodes args from JS SDK to binary.
Defined in
methodName
methodName: string
The name of the method to invoke
Defined in
stringify
Optional stringify: (input: any) => Buffer
Type declaration
(input): Buffer
Convert input arguments into bytes array.
Parameters
| Name | Type |
|---|---|
input | any |
Returns
Buffer