Sign and Send
Sign and broadcast a transaction.Ethereum (EVM Chains)
Request:network(string): Network identifierrequest(object):to_address(Python) /toAddress(TypeScript): Recipient address (hex string)data(string): Calldata (hex string, use “0x” for transfers)value(string): Wei amount (string)
Solana
Request:network(string): “solana”request(object):hex_transaction(Python) /hexTransaction(TypeScript): Serialized VersionedTransaction as hex string
success(boolean): Whether the transaction was signed and broadcastdata.txHash/data.tx_hash(string): Transaction hash (on success)data.transactionUrl/data.transaction_url(string, optional): Explorer link (on success)error(string | null): Error message (on failure)
Sign Message
Sign a message on an EVM network (EIP-712 or EIP-191).messageType(string): “eip712” or “eip191”chainId(number): Ethereum chain IDdata(object): Message data structure- For EIP-712:
{ domain, types, primaryType, message } - For EIP-191:
{ message }(plain text)
- For EIP-712:
{ network, request }.
Response:
success(boolean): Whether the message was signeddata(object): Signature data (on success)v(number): Signature v componentr(string): Signature r component (hex)s(string): Signature s component (hex)formattedSignature(string): Complete signature (hex)type(string): Always “evm”
error(string | null): Error message (on failure)
Notes
signMessageis EVM-only. Solana message signing is not supported.- Manual mode: in a manual session the message is not signed by the agent run — it is captured as a suggestion for the user to approve (a strict safeguard: an agent run never signs autonomously).
result.datais then a suggestion envelope ({ suggested: true, suggestionId }) rather than a signature. Use the same call in both modes; check"suggested" in result.dataif you need to branch. See Manual vs Auto Mode. - Gas and fee estimation are handled automatically server-side.
- Transaction confirmation is handled automatically server-side. The server waits for onchain confirmation and returns
success: falsewith an error message if a transaction reverts.
See Also
- Yield Agent Example — Full working agent using
signAndSendfor Aave deposits - SDK Quick Reference — Network identifiers and native token addresses