Rebuild Custodial Transaction

put/api/v2/admin/wallet/{walletId}/tx/build

Rebuild a Custodial Transaction

Path Parameters

  • walletIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Request Body

pendingApprovalId string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
reservationExpireTime string <date-time>
When set, reserve all unspents used in transaction for this amount of time
Example: 2032-01-01T00:00:00.000Z
previewPendingTxs boolean
When set, preview the pending transactions

200 Response

txHex string
The hexadecimal representation of the transaction
txInfo object
nP2SHInputs number
The number of P2SH inputs
nSegwitInputs number
The number of Segwit inputs
nOutputs number
The number of outputs
unspents array[object]
The unspent transaction outputs (UTXOs)
changeAddresses array[string]
The change addresses
walletAddressDetails dictionary<string, object>
The wallet address details
feeInfo object
size number
The size of the transaction in bytes
fee number
The fee of the transaction
feeRate number
The fee rate of the transaction
payGoFee number
The pay-as-you-go fee
payGoFeeString string
The pay-as-you-go fee as a string
debug object
dimensions object
formatVersion number required
The format version of the transaction
walletId string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletLabel string required
The label of the wallet
creatorId string required
The ID of the creator
creatorEmail string required
The email of the creator
createDate string <date-time>required
The creation date of the transaction
videoId object required
approver string required
The approver of the video
dateOne ofrequired
The date of the video
link string required
The link to the video
exception string required
The exception related to the video
waived boolean required
Indicates if the video requirement was waived
comment string
The comment on the transaction
coin string
A cryptocurrency symbol or token ticker symbol
Example: btc
pubs array[string]
The public keys associated with the transaction
amount string
The amount of the transaction
pendingApprovalId string
The pending approval ID
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
enterpriseId string
The ID of the enterprise
enterpriseName string
The name of the enterprise
xpubsWithDerivationPath object
The extended public keys with derivation path
user object
The user's extended public key with derivation path
cold object
The cold storage extended public key with derivation path
bitgo object
BitGo's extended public key with derivation path
backup object
The backup extended public key with derivation path
coinSpecific object
enterpriseFeatureFlags array[string]
The feature flags of the enterprise
Allowed values: adaBYOValidator adaBYODRep adaPledging adaStaking atomStaking avaxcAlwaysUseHop avaxpStaking avaxpBYOValidator bscStaking bscBYOValidator babylonStaking cronosStaking fetchStaking lidoStaking cosmosBYOValidator icpStaking nearBYOValidator maticBYOValidator mpcStaking pstAvaxStaking solBYOValidator somniaStaking somniaBYOValidator storyStaking storyBYOValidator stAvaxStaking v2RewardAccrualReportAPI trxStaking trxBYOValidator vetStaking reactOnly useEddsaCommitment enableBG23 enableBG25Inst enableBG25Retail bitgoNetwork btcHSMv3 ecdsaTssColdWallets eddsaTssColdWallets enableMMI ethHSMv3 nftWallets checkPendingBalanceOnBuild enableEcdsaWallets enableTendermintHotWallets enableMpcEvmCustody enableMpcEvmHot ethBatchStaking enableConcurrentGg18Evm specialVideoInstructions csprStaking tssCustodial blockTransactionIfPending mystenEmployee mystenInvestor monthlyTrustReports nitroHSM unspentsConsolidation newPolicyServiceShadowMode useEnterpriseEcdsaTssChallenge clearingSettlementUI snowflakeReports multiAssetDVP solStakingAuthorize suiCustomTx csprBYOValidator suiBYOValidator stxStaking stxBYOValidator tonBYOValidator btcBYOValidator btcStaking tonStaking useEcdsaTssPaillierBlum useEcdsaTssPhase5 allowBackupKeySigning useCustomValidators sendTxRequestFullNotification addressBookRevised enableEnterprisePolicy bgUILargeEnterprise enableDurableNonce automateGoAccountActivation showUnstableOesPartners stakingReports cosmosClaimRewards cosmosSwitchValidator enablePlaid enableMPCv2 useWireWithdrawalConfirmAPI disableDurableNonce tonV1Wallets allowExternalChangeAddressUI eigenStaking eigenBYOValidator eigenLikeClaimRewards enableRiskScoring useValidatorList ethRestaking ethClaimRewards enableKycReverification fetchAdaBalanceFromIndexer polStaking enableTrxFundingFromGasTank useAvailableBandwidthForTokenConsolidation enablePreventDuplicateConsolidations ethUnstakingPolicyService bulkTx eth2Staking nearStaking solStaking dotStaking maticStaking suiStaking wctStaking wflrStaking coredaoStaking coredaoBYOValidator beraStaking beraBYOValidator beraNativeStaking walrusStaking walrusBYOValidator taoStaking taoBYOValidator babylonBYOValidator btcBabylonStaking polyxStaking polyxBYOValidator tokenization globalTravelRule addressReports enableMarginV2 enableMarginV2UI mpcV2ReceiveAddress enableUSDS enableDEX enableWalletConnect shouldCreateGoAccountAsynchronously enableWhitelistTestTransactions disableCustodyGoGasVideoWaiver enableFinancing disableFinancing financingGatedRelease enableEnterpriseWhitelist enableEnterpriseAddressBook enableSmartContractCalls enableCrossChainRecovery enablePolicyRuleTemplates enableUserRoleApprovalAction dontSendStatementEmailNotifications hotBackingWalletsEnabled enableSso enableOktaSso volumeTieredTradingFees enableInternalOnlyTradeProducts showNewTradeProductsBanner enableTokenManagementTab enableNewConsolidationDesign enableMidnightGlacierDrop useImsBuiltTransaction enableNewInfraredRewardTracking skipFailedTxnEntriesUpdate expiryBasedNonceHandler disableSelfCustodyWhitelistLock enableTradeV2UI showOrderBookData achDebitsEnabled enableFrankfurtDETrustTrading enableEVMKeyring invoiceFiatFees seievmStaking seievmBYOValidator jitoStaking enableKoreanLocalization taoBittensorStaking enableDvPBulkInitialization enableUSDMena aptStaking solRedelegationBackfill ignoreSpendingCalculationMissingMarketData
isTestTransaction boolean
Indicates if this is a test transaction (client-provided flag)
token string
The token associated with the transaction
keyDerivationPath string
The key derivation path
receivedCoin object
family string
The family of the received coin
type string
The type of the received coin
fullDisplay string
The full display name of the received coin
shortDisplay string
The short display name of the received coin
modifierExp number
The modifier exponent of the received coin
modifier number
The modifier of the received coin

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

409 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id