Wallets

Create a signature or transaction

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

post/v1/wallets/{wallet_id}/rpc

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

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

Changes

Changed in 7 of the 46 revisions of this API.2219

    • added SparkWithdrawRpcResponse SparkGetWithdrawalFeeQuoteRpcResponse to the response body oneOf list for the response status 200

      response-body-one-of-added

    • added getWithdrawalFeeQuote withdraw mapping keys to the request discriminator

      request-body-discriminator-mapping-added

    • added SparkWithdrawRpcInput SparkGetWithdrawalFeeQuoteRpcInput to the request body oneOf list

      request-body-one-of-added

    • added getWithdrawalFeeQuote withdraw mapping keys to the response discriminator for the response status 200

      response-body-discriminator-mapping-added

  • 468dcf8db58024See the full diff
    • removed the request property oneOf[subschema #21: TronSignTransactionRpcInput]/params/raw_data/call_value

      request-property-removed

    • removed the request property oneOf[subschema #22: TronSendTransactionRpcInput]/params/raw_data/call_value

      request-property-removed

    • added the new optional request property oneOf[subschema #21: TronSignTransactionRpcInput]/params/raw_data/contract/items/oneOf[subschema #2: TronTriggerSmartContract]/call_value

      new-optional-request-property

    • added the new optional request property oneOf[subschema #21: TronSignTransactionRpcInput]/params/raw_data/contract/items/oneOf[subschema #2: TronTriggerSmartContract]/data

      new-optional-request-property

    • added the new optional request property oneOf[subschema #22: TronSendTransactionRpcInput]/params/raw_data/contract/items/oneOf[subschema #2: TronTriggerSmartContract]/call_value

      new-optional-request-property

    • added the new optional request property oneOf[subschema #22: TronSendTransactionRpcInput]/params/raw_data/contract/items/oneOf[subschema #2: TronTriggerSmartContract]/data

      new-optional-request-property

    • added the optional property oneOf[subschema #22: TronSendTransactionRpcResponse]/data/reference_id to the response with the 200 status

      response-optional-property-added

    • added the new optional request property oneOf[subschema #22: TronSendTransactionRpcInput]/params/reference_id

      new-optional-request-property

    • added the required property oneOf[subschema #22: TronSendTransactionRpcResponse]/data/hash to the response with the 200 status

      response-required-property-added

  • 916b8f0728f413See the full diff
    • added TronSignTransactionRpcResponse TronSendTransactionRpcResponse to the response body oneOf list for the response status 200

      response-body-one-of-added

    • added tron_sendTransaction tron_signTransaction mapping keys to the request discriminator

      request-body-discriminator-mapping-added

    • added TronSignTransactionRpcInput TronSendTransactionRpcInput to the request body oneOf list

      request-body-one-of-added

    • added tron_sendTransaction tron_signTransaction mapping keys to the response discriminator for the response status 200

      response-body-discriminator-mapping-added

    • added the new optional request property oneOf[subschema #3: EthereumPersonalSignRpcInput]/caip2

      new-optional-request-property

    • added the new optional request property oneOf[subschema #3: EthereumPersonalSignRpcInput]/signature_options

      new-optional-request-property

    • added the new optional request property oneOf[subschema #4: EthereumSignTypedDataRpcInput]/caip2

      new-optional-request-property

    • added the new optional request property oneOf[subschema #4: EthereumSignTypedDataRpcInput]/signature_options

      new-optional-request-property

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property oneOf[subschema #10: SolanaSignAndSendTransactionRpcInput]/optimistic_broadcast

      new-optional-request-property

    • added the optional property oneOf[subschema #11: SolanaSignAndSendTransactionRpcResponse]/data/signed_transaction to the response with the 200 status

      response-optional-property-added