Wallets

Create a signature or transaction

Changed on

Sign a message or transaction with a wallet by wallet ID.

post/v1/wallets/{wallet_id}/rpc

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/wallets/{wallet_id}/rpc
  • Auth
    HTTP basic

Path parameters

wallet_idstring required

ID of the wallet.

Headers

privy-app-idstring required

ID of your Privy app.

privy-authorization-signaturestring

Request authorization signature. If multiple signatures are required, they should be comma separated.

privy-request-expirystring

Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.

privy-idempotency-keystring

Idempotency keys ensure API requests are executed only once within a 24-hour window.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Response

Signed message or transaction.

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Changes

    • breaking

      removed subschema #2 from the //// request property anyOf list

    • breaking

      removed subschema #2 from the //// request property anyOf list

    • info

      removed subschema #2 from the //// response property anyOf list for the response status

    • breaking

      added to the response body oneOf list for the response status

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added aptos_signTransaction xrpl_signTransaction near_signTransaction mapping keys to the request discriminator

    • info

      added to the request body oneOf list

    • info

      added aptos_signTransaction xrpl_signTransaction near_signTransaction mapping keys to the response discriminator for the response status