Interface: ChangeFunctionCallOptions
account.ChangeFunctionCallOptions
Options used to initiate a function call (especially a change function call)
See
viewFunction to initiate a view function call
Hierarchy
↳
ChangeFunctionCallOptions
Properties
args
args: object
named arguments to pass the method { messageText: 'my message' }
Inherited from
Defined in
attachedDeposit
Optional attachedDeposit: BN
amount of NEAR (in yoctoNEAR) to send together with the call
Inherited from
FunctionCallOptions.attachedDeposit
Defined in
contractId
contractId: string
The NEAR account id where the contract is deployed
Inherited from
FunctionCallOptions.contractId
Defined in
gas
Optional gas: BN
max amount of gas that method call can use
Inherited from
Defined in
jsContract
Optional jsContract: boolean
Is contract from JS SDK, automatically encodes args from JS SDK to binary.
Inherited from
FunctionCallOptions.jsContract
Defined in
methodName
methodName: string
The name of the method to invoke
Inherited from
FunctionCallOptions.methodName
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
Inherited from
Defined in
walletCallbackUrl
Optional walletCallbackUrl: string
Callback url to send the NEAR Wallet if using it to sign transactions.
See
RequestSignTransactionsOptions
Defined in
walletMeta
Optional walletMeta: string
Metadata to send the NEAR Wallet if using it to sign transactions.
See
RequestSignTransactionsOptions