contract_call_raw_function
Call a contract function directly as a raw transaction, specifying arguments, gas, and attached deposit in NEAR blockchain through NEAR MCP server.
Instructions
Call a function of a contract as a raw function call action. This tool creates a function call as a transaction which costs gas and NEAR.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accountId | Yes | The account id of the signer. | |
args | Yes | The arguments to pass to the method. | |
attachedDeposit | No | The amount to attach to the function call (default to 1 yoctoNEAR). Can be specified as a number (in NEAR) or as a bigint (in yoctoNEAR). | |
contractAccountId | Yes | The account id of the contract. | |
gas | No | The amount of gas to use for the function call in yoctoNEAR (default to 30TGas). | |
methodName | Yes | The name of the method to call. | |
networkId | No | mainnet |