Skip to content

Instantly share code, notes, and snippets.

@ryandotsmith
Created March 18, 2015 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandotsmith/8108ba39cacba2d9b5a5 to your computer and use it in GitHub Desktop.
Save ryandotsmith/8108ba39cacba2d9b5a5 to your computer and use it in GitHub Desktop.
Chain Notifications Webhook Payload
{
"id": "94d50194-05c8-48bb-94d1-588edf3d286c",
"sequence": 163201,
"created_at": "2015-03-18T18:18:18.446537Z",
"delivery_attempt": 1,
"notification_id": "2d2f54c4-73c8-415f-88b7-2b13452f6851",
"type": "webhook",
"block_chain": "bitcoin",
"transaction": {
"hash": "da02037c03337c24439be90ff6cab0e4b9dec03cc4dbe08d8863763a52dcc0ef",
"block_hash": null,
"block_height": null,
"block_time": null,
"chain_received_at": "2015-03-18T18:20:16.424481783Z",
"confirmations": 0,
"lock_time": 0,
"inputs": [
{
"transaction_hash": "da02037c03337c24439be90ff6cab0e4b9dec03cc4dbe08d8863763a52dcc0ef",
"output_hash": "45f602df38a6e12cf74620fe40f7a3cf2c34e98e69a9f0261dd58677e7f40a73",
"output_index": 1,
"value": 297519,
"addresses": [
"1LucyCNLy54G76trwqKLFTTbUQXfScv9h1"
],
"script_signature_hex": "483045022100bffea6b9437711831ece6f6995981d89cd7605e593ecb412edf985771ec036990220369a8a596a99bf8c0962772a537df360e39abc3b1dcc4967c6dbbe4b82e9565e012103ebd8b5876ee28a5eeca0dc1a05092167e923e65045206b2dc42b609eb6ae8e3b",
"sequence": 4294967295
}
],
"outputs": [
{
"transaction_hash": "da02037c03337c24439be90ff6cab0e4b9dec03cc4dbe08d8863763a52dcc0ef",
"output_index": 0,
"value": 202278,
"addresses": [
"1JPNwJ3ymo9naFThA6FvJE4KSTiZjcgoLn"
],
"script": "OP_DUP OP_HASH160 beb599cf5e242a76164235e7f496d9134fd3131c OP_EQUALVERIFY OP_CHECKSIG",
"script_hex": "76a914beb599cf5e242a76164235e7f496d9134fd3131c88ac",
"script_type": "pubkeyhash",
"required_signatures": 1,
"spent": false
},
{
"transaction_hash": "da02037c03337c24439be90ff6cab0e4b9dec03cc4dbe08d8863763a52dcc0ef",
"output_index": 1,
"value": 94241,
"addresses": [
"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp"
],
"script": "OP_DUP OP_HASH160 06f1b66ffe49df7fce684df16c62f59dc9adbd3f OP_EQUALVERIFY OP_CHECKSIG",
"script_hex": "76a91406f1b66ffe49df7fce684df16c62f59dc9adbd3f88ac",
"script_type": "pubkeyhash",
"required_signatures": 1,
"spent": false
}
],
"fees": 1000,
"amount": 296519
},
"address": "1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp",
"event": "address-transaction"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment