/api/v2/{coin}/webhooks/{webhookId}/simulate
Simulates and tests a block webhook so you can view its response.
coin
stringRequiredbtc
webhookId
stringRequired59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
blockId
string 0000000000000296ed56abee6cb78e40b00c47a03d92e71dd92c4862ca636b95
1 2 3 4 5 6 7 8 9 10 11
var baseCoin = bitgo.coin('tbtc4'); var webhooks = baseCoin.webhooks(); webhooks .simulate({ webhookId: '590cd…35835', blockId: '00000…507d6', }) .then(function (result) { console.dir(result); });
webhookNotifications
array[object] hash
string 0000000000000296ed56abee6cb78e40b00c47a03d92e71dd92c4862ca636b95
id
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
coin
string btc
type
string txRequest
txRequestTransaction
transfer
transaction
transactionRemoved
transactionExpire
pendingapproval
address_confirmation
lowFee
block
admin
circuitBreaker
transaction_finality_on_l1
transfer
walletType
string cold
transferType
string receive
value
integer 1055354
valueString
string 1055354
baseValue
integer 1055354
baseValueString
string 1055354
feeString
string 71854
initiator
array[string] external
receiver
string tb1q3tzuxef7qc0sl8jq6vh3hpeq0w7swmq9a7eh4p
version
integer 2
state
string failed
new
pending
processed
unconfirmed
new