GET
Get proof of address ownership
Gets proof of ownership for an address of a TRUST wallet. Returns a unique BTC proof that you can use with your travel-rule solutions. Only available for BTC.
Before using this endpoint, BitGo must configure the VASP ID for your enterprise. Contact support@bitgo.com and provide your enterprise ID, environment (production or testnet), role at your company, and your VASP ID.
Path Params
-
coinstring requiredA cryptocurrency symbol or token ticker symbol -
walletIdstring required -
addressOrIdstring requiredAddress or Id which will be used for information lookup
Responses
200
OK
Response Body
object
Proof of address ownership
-
iouboolean requiredTrue if this is an IOU -
addressstringThe address -
signaturestringThe proof signature -
prefixstringA 64-character random string used to generate the proof -
chainstring enumThe coin name ('BITCOIN' or 'ETHEREUM')BITCOINETHEREUM -
proofTypestring enumThe type of proofBITCOIN_P2SHBITCOIN_P2SH_P2WSHBITCOIN_P2WSHETHEREUM_CONTRACT -
auxProofDataarray of objectsauxProofData object
-
typestring enum requiredThe type of dataREDEEM_SCRIPTWITNESS_SCRIPTETH_CREATEETH_CREATE2 -
dataobject requireddata object
-
scriptstringThe REDEEM_SCRIPT or WITNESS_SCRIPT associated with the address -
noncestring -
saltstring -
init_code_hashstring
-
-
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id