GET
List block webhooks
Returns block webhooks. The types of webhooks are block and wallet_confirmation notifications.
Path Params
-
coinstring requiredA cryptocurrency or token ticker symbol
Responses
200
OK
Response Body
object
The block webhooks of a user for a coin.
-
webhooksarray of objects requiredwebhooks object
-
idstring required -
createdstring date-time required -
coinstring requiredA cryptocurrency or token ticker symbol. -
typestring enum requiredThe type of event the webhook listens to, eitherblockorwallet_confirmation.blockwallet_confirmation -
urlstring uri required -
versionnumber required2 for coins running on API v2. -
statestring enum requiredIf 'active', indicates the webhook can trigger and send to the URL. If 'suspended', indicates the webhook can't trigger.activesuspended -
successiveFailedAttemptsnumber required -
listenToFailureStatesboolean requiredWhether or not to listen to failed transactions on chain. -
labelstringLabel of the webhook. -
scopestring enumThe scope of the webhook. Not stored for webhooks owned by a user, so usually absent.walletenterpriseorganizationsafe -
userIdstringThe ID of the user that owns the webhook. -
numConfirmationsnumberNumber of confirmations before the webhook is triggered. -
lastAttemptstring date-time -
failingSincestring date-time
-
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
401
Unauthorized
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