REST APIWallet & TransactWallet

POST

Checks the wallet's native balance and requests gas-tank funding if needed. Returns 400 if the coin does not support the enableBridging feature. Returns 500 if a downstream service (indexer or gas-tank-service) fails.

Path Params

  • coin string required
    The coin identifier
  • walletId string required
    The BitGo wallet ID

Responses

200
OK

Response Body

object

  • status string enum required
    Current funding status
    fundedfunding_initiatedfunding_pendingalready_funded_insufficient
  • currentBalance string required
    Current native balance of the wallet's base address in base units
  • minimumRequired string required
    Minimum native balance required for bridging in base units
  • fundingJobId string
    Gas-tank-service funding job ID — present when status is funding_initiated or funding_pending
  • estimatedConfirmationSeconds number
    Estimated seconds for the funding transaction to confirm
  • message string
    Human-readable message, typically retry guidance or error explanation
400
Bad Request

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
403
Forbidden

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
500
Internal Server Error

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id