Approve Transactions

Overview

You can Create Wallet Policies that requires approvals, transactions remain in a pending-approval status until final approval. In addition to outgoing transactions from you wallets, you can configure approvals for the following events:

  • policyRuleRequest
  • updateApprovalsRequiredRequest
  • updateEnterpriseRequest
  • userChangeRequest

Prerequisites

Steps

  • SDK
  • API
1 2 3 const baseCoin = this.bitgoSDK.coin(initialPendingApproval.coin); const pendingApproval = await baseCoin.pendingApprovals().get({ id: initialPendingApproval.id }); const result = await pendingApproval.approve(params);

Step Result

  • Custodial
  • Self-Managed

You approved the unsigned transaction.

Note: Since blockchains are constantly updating, after the final admin signs the transaction, a new build transaction initiates that applies the most up-to-date fees.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 { "id": "59cd72485007a239fb00282ed480da1f", "coin": "btc", "wallet": "59cd72485007a239fb00282ed480da1f", "enterprise": "59cd72485007a239fb00282ed480da1f", "creator": "59cd72485007a239fb00282ed480da1f", "createDate": "2019-08-24T14:15:22Z", "info": { "transactionRequest": { "buildParams": {}, "coinSpecific": {}, "comment": "string", "fee": "2000000", "isUnsigned": true, "recipients": [ { "address": "2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS", "amount": "2000000", "data": "string" } ], "requestedAmount": "2000000", "sourceWallet": "59cd72485007a239fb00282ed480da1f", "triggeredPolicy": "59cd72485007a239fb00282ed480da1f", "validTransaction": "string", "validTransactionHash": "string" }, "type": "transactionRequest" }, "state": "pending", "scope": "enterprise", "userIds": [ "59cd72485007a239fb00282ed480da1f" ], "approvalsRequired": 1, "walletLabel": "string" }

Next Steps

  • Custodial
  • Self-Managed

Conduct video verification with a BitGo operator for signing and broadcasting.

See Also

API Reference: Resolve Pending Approval