simulate_transaction
Prevent signing errors by simulating a transaction first, using the user's wallet and encoded transaction details.
Instructions
[REQUIRES BAOZI_LIVE=1] Simulate a transaction before signing to check for errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction | Yes | Base64-encoded transaction | |
| user_wallet | Yes | User wallet public key |