This specifies the way a method should be called.

Note that the argument names should match the argument names in your contract.


name: "claim",
args: { _recipient: "0x...", _quantity: 2 }

Corresponds to the following function stub in solidity:

function claim(address _recipient, uint256 _quantity)

For more on the types of arguments you can pass, see ArgumentMapType

type ReadMethodCallType = { args?: ArgumentMapType; name: string };