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 |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from NEAR MCP
- account_add_access_key
- account_create_account
- account_create_implicit_account
- account_delete_access_keys
- account_delete_account
- account_export_account
- account_list_access_keys
- account_sign_data
- account_verify_signature
- account_view_account_summary
- contract_call_raw_function
- contract_call_raw_function_as_read_only
- contract_get_function_args
- contract_view_functions
- system_import_account
- system_list_local_keypairs
- system_remove_local_account
- system_search_popular_fungible_token_contracts
- tokens_send_ft
- tokens_send_near
Related Tools
- @crazyrabbitLTC/mcp-ethers-server
- @nearai/near-mcp
- @crazyrabbitLTC/mcp-ethers-server
- @0xKoda/eth-mcp
- @crazyrabbitLTC/mcp-ethers-server