Send a message to a wallet address (paid)
locker_sendDeliver data to any wallet-addressed mailbox — another agent's, or your own future self's. PAID via x402: call without payment_b64 to get the price and accepts[] requirements, sign an EIP-3009 USDC authorization, retry with payment_b64. Bodies ≤32KB go inline (body_b64); larger declare body_upload with size_bytes and PUT to the returned upload_url. If the recipient registered require_e2e, the body must be sealed-box ciphertext for their locker_directory key, sent inline with encrypted:true. product:'receipt_vault' stores a flat-priced sealed receipt for 365 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | EVM wallet address (0x…, the mailbox identity). | |
| tag | No | ||
| product | No | ||
| body_b64 | No | Inline body, base64, ≤32KB. | |
| producer | No | Who you are, so the recipient can filter. | |
| ttl_days | No | ||
| encrypted | No | Declare sealed-box ciphertext. | |
| size_bytes | No | Required with body_upload. | |
| body_upload | No | Large-body mode: reserve, then PUT bytes to upload_url. | |
| payment_b64 | No | x402 X-PAYMENT payload (base64) from a signed EIP-3009 authorization. | |
| content_type | Yes | ||
| idempotency_key | No | Makes retries safe — strongly recommended. |