Skip to main content
Sends a single transaction. The user’s smart account is the sender. Inside the Startale App this call is sponsored and the user pays no gas. In a standalone application it is not sponsored, and it cannot carry a custom paymaster. See the note under Notes.

Request

Parameters

`0x${string}`
required
Recipient address.
`0x${string}`
Hex-encoded value in wei. Defaults to 0x0.
`0x${string}`
Hex-encoded calldata. Defaults to 0x.
`0x${string}`
The connected smart-account address. Handling differs by context:
  • Inside a Mini App, the host overwrites from with the smart account, so you can omit it.
  • In a standalone application, from is required and is not rewritten. A missing value, or one that does not match the connected account, is rejected with -32602.

Returns

0x${string}, the transaction hash.

Errors

Notes

  • In a standalone application, pass the connected smart-account address as from. Only a Mini App has it rewritten for you.
  • Inside the Startale App, gas is sponsored by Startale.
  • In a standalone application, this method cannot use paymasterOptions. The paymaster travels as an EIP-5792 capability and this method carries no capabilities, so the user pays. Send through wallet_sendCalls to route through your own paymaster, even for a single call.