Transactions
Read a transaction, poll for its status, and prepare one for the user to
Read a transaction, poll for its status, and prepare one for the user to sign.
privy_prepare_transaction produces a wallet action — it does not sign and does
not broadcast. The user signs in the browser, and you read the outcome with
privy_get_transaction_status or privy_get_wallet_action.
privy_get_wallet_action
Get a single wallet action by id. Hits `GET /v1/wallets/{wallet_id}/actions/{action_id}`. The handler does the same ownership check as `privy_get_wallet`. Returns the full `WalletAction` record. Use this for a per-action status check (e.g. to confirm a `prepare_transaction` has actually been picked up by the user, or to read the per-step `steps` array after a failed action).
privy_get_transaction
Get a single transaction by id. Hits `GET /v1/transactions/{transaction_id}`. The handler does an ownership check: a transaction whose `wallet_id`'s `owner_id` does not match the caller's DID returns a 403-style isError. Returns the full `PrivyTransaction` record with passthrough on every field. Use this for a single-transaction lookup; for a per-wallet history, use `privy_list_wallet_transactions`.