{"uid":"cap_IyK7Zn87D6N8ZkPPwYK2s","slug":"spraay-gateway-wallet-sign-message-2f2cf030","name":"Spraay Gateway Wallet Sign Message","description":"Sign a message with an agent wallet.","url":"https://gateway.spraay.app/api/v1/wallet/sign-message","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"walletId":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5nzSe0E753sWeRmkuIsXk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Signs a message using an agent-controlled wallet, returning a cryptographic signature and wallet identifier.","exampleAgentPrompt":"Sign the message 'I authorize this action on behalf of my account' using my agent wallet so I can prove ownership.","exampleUseCases":[{"title":"Prove wallet ownership for dApp login","prompt":"Sign the authentication challenge message 'Login request from app.example.com at 2024-01-15T10:00:00Z' with my agent wallet so I can log into the dApp."},{"title":"Authorize an off-chain agreement","prompt":"I need my agent wallet to sign the message 'I agree to the terms of service version 3.1' so I can submit it as cryptographic proof of consent."},{"title":"Sign a payload for on-chain verification","prompt":"Can you sign the string 'Transfer approved: 100 USDC to 0xABC...123' with my agent wallet so the receiving contract can verify the authorization?"}],"resultDescription":"Returns a wallet ID and a cryptographic signature of the provided message, generated by the agent's controlled wallet private key. The signature can be used to prove wallet ownership or authorize actions off-chain or on-chain.","failureModes":["Missing or invalid message payload — returns 400 bad request","Wallet not initialized or agent lacks wallet access — returns 401 or 403","Payment not fulfilled (x402) — returns 402 Payment Required","Signing service unavailable — returns 503","Rate limit exceeded — returns 429"],"whenToPreferThis":"Use this endpoint when an agent needs to cryptographically sign a message using its own managed wallet — for authentication challenges, ownership proofs, off-chain agreement signing, or generating verifiable authorization payloads. Prefer this over client-side signing when the signing must be performed server-side by the agent's wallet infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:58.407Z","isFirstParty":false}