{"openapi":"3.1.0","info":{"title":"Blockchain Applied API","description":"BCA API backend for blockchain-applied.com","license":{"name":"GPL-3.0-or-later","identifier":"GPL-3.0-or-later"},"version":"0.1.0"},"servers":[{"url":"/api_ada/v1"}],"paths":{"/address/{addr}":{"get":{"tags":["address"],"operationId":"get_address","parameters":[{"name":"addr","in":"path","description":"The address to query","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"page number","required":true,"schema":{"type":"integer","format":"int32","minimum":1},"example":1}],"responses":{"200":{"description":"Address summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressResponse"}}}},"404":{"description":"Address not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/block/{blockhash}":{"get":{"tags":["usage"],"operationId":"get_block","parameters":[{"name":"blockhash","in":"path","description":"The block to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Block summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockResponse"}}}},"404":{"description":"Block not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/current_epoch":{"get":{"tags":["usage"],"operationId":"get_current_epoch","responses":{"200":{"description":"Current epoch summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpochResponse"},"example":{"details":{"block count":14369,"epoch end":"2026-06-23T21:44:51+00:00","epoch number":638,"epoch start":"2026-06-18T21:44:51+00:00","filled%":0.6652314814814815,"first blocktime":"2026-06-18T21:44:52","first slot":190252801,"last blocktime":"2026-06-22T06:50:37","last slot":190544746,"size":97892064,"tx count":82465},"summary":"epoch"}}}},"404":{"description":"Epoch not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/datum/{datumhash}":{"get":{"tags":["datum"],"operationId":"get_datum","parameters":[{"name":"datumhash","in":"path","description":"The datum to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Datum summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatumResponse"}}}},"404":{"description":"Datum not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/epoch/{epochno}":{"get":{"tags":["usage"],"operationId":"get_epoch","parameters":[{"name":"epochno","in":"path","description":"The epoch to query","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"epoch summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpochResponse"}}}},"404":{"description":"Epoch not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/health":{"get":{"tags":["health"],"operationId":"get_health","responses":{"200":{"description":"Service is healthy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}},"503":{"description":"Service is unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/latest_block":{"get":{"tags":["usage"],"operationId":"get_latest_block","responses":{"200":{"description":"Head of the chain","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LatestBlockResponse"},"example":{"blockhash":"60dbf0b9405a96774d26d68f97f7e98bb4f10cd3461c0863f1abc872c0e7d4df","epochno":638,"slotno":190543319}}}},"404":{"description":"No blocks found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/list_addr_tx/{addr}":{"get":{"tags":["listaddrtx"],"operationId":"get_listaddrtx","parameters":[{"name":"addr","in":"path","description":"The address to query for transactions","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"page number (default: 1)","required":false,"schema":{"type":"integer","format":"int32","minimum":1},"example":1},{"name":"pagesize","in":"query","description":"page size (default: 20)","required":false,"schema":{"type":"integer","format":"int32","maximum":2000,"minimum":1},"example":20},{"name":"after","in":"query","description":"after timestamp (default: now - 30 days)","required":false,"schema":{"type":"string"},"example":"2025-04-12 08:42:00Z"},{"name":"before","in":"query","description":"before timestamp (default: now)","required":false,"schema":{"type":"string"},"example":"2025-04-22 08:42:00Z"}],"responses":{"200":{"description":"Paginated address transactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/list_metadata_tx/{key}":{"get":{"tags":["metadata"],"operationId":"get_metadata","parameters":[{"name":"key","in":"path","description":"The metadata to query by key","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","description":"page number (default: 1)","required":false,"schema":{"type":"integer","format":"int32","minimum":1},"example":1},{"name":"pagesize","in":"query","description":"page size (default: 20)","required":false,"schema":{"type":"integer","format":"int32","maximum":2000,"minimum":1},"example":20},{"name":"after","in":"query","description":"after timestamp (default: now - 1 day)","required":false,"schema":{"type":"string"},"example":"2025-04-21 08:42:00Z"},{"name":"before","in":"query","description":"before timestamp (default: now)","required":false,"schema":{"type":"string"},"example":"2025-04-22 08:42:00Z"}],"responses":{"200":{"description":"Paginated metadata transactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/list_staking_rewards/{addr}":{"get":{"tags":["listrewards"],"operationId":"get_staking_rewards","parameters":[{"name":"addr","in":"path","description":"The staking address to query for rewards and withdrawals","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"page number (default: 1)","required":false,"schema":{"type":"integer","format":"int32","minimum":1},"example":1},{"name":"pagesize","in":"query","description":"page size (default: 20)","required":false,"schema":{"type":"integer","format":"int32","maximum":2000,"minimum":1},"example":20},{"name":"after","in":"query","description":"after timestamp (default: now - 30 days)","required":false,"schema":{"type":"string"},"example":"2025-04-12 08:42:00Z"},{"name":"before","in":"query","description":"before timestamp (default: now)","required":false,"schema":{"type":"string"},"example":"2025-04-22 08:42:00Z"}],"responses":{"200":{"description":"Paginated staking rewards and withdrawals","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/list_staking_tx/{addr}":{"get":{"tags":["liststakingtx"],"operationId":"get_staking_tx","parameters":[{"name":"addr","in":"path","description":"The staking address to query for transactions","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"page number (default: 1)","required":false,"schema":{"type":"integer","format":"int32","minimum":1},"example":1},{"name":"pagesize","in":"query","description":"page size (default: 20)","required":false,"schema":{"type":"integer","format":"int32","maximum":2000,"minimum":1},"example":20},{"name":"after","in":"query","description":"after timestamp (default: now - 30 days)","required":false,"schema":{"type":"string"},"example":"2025-04-12 08:42:00Z"},{"name":"before","in":"query","description":"before timestamp (default: now)","required":false,"schema":{"type":"string"},"example":"2025-04-22 08:42:00Z"}],"responses":{"200":{"description":"Paginated staking transactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/ma/{fingerprint}":{"get":{"tags":["ma"],"operationId":"get_ma","parameters":[{"name":"fingerprint","in":"path","description":"The multi-asset to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Multi-asset summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaResponse"}}}},"404":{"description":"Multi-asset not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/ma_policy/{policyhash}":{"get":{"tags":["ma_policy"],"operationId":"get_ma_policy","parameters":[{"name":"policyhash","in":"path","description":"The multi-asset policy to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"multi-asset policy summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaPolicyResponse"}}}},"404":{"description":"Multi-asset policy not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/pool/{poolid}":{"get":{"tags":["pool"],"operationId":"get_pool","parameters":[{"name":"poolid","in":"path","description":"The pool to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"pool summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vec"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/pool/{poolid}/hash":{"get":{"tags":["pool"],"operationId":"get_pool_hash","parameters":[{"name":"poolid","in":"path","description":"The pool identifier to translate to its pool_hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"relates poolid to poolhash","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolHashResponse"},"example":{"poolhash":"9021035ba7bf0b5ecb49aba303fe9bd4b80d99f7b4519854f24f71a1","poolid":"pool1jqssxka8hu94aj6f4w3s8l5m6juqmx0hk3ges48jfac6zngmkh8"}}}},"404":{"description":"Pool not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/script/{scripthash}":{"get":{"tags":["script"],"operationId":"get_script","parameters":[{"name":"scripthash","in":"path","description":"The script to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Script summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptResponse"}}}},"404":{"description":"Script not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/slot/{slotno}":{"get":{"tags":["slot"],"operationId":"get_slot","parameters":[{"name":"slotno","in":"path","description":"The slot to query","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Returns the block hash for a slot number","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotResponse"}}}},"404":{"description":"Slot not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/staking/{stakinghash}":{"get":{"tags":["staking"],"operationId":"get_staking","parameters":[{"name":"stakingaddr","in":"path","description":"The staking address to query","required":true,"schema":{"type":"string"}},{"name":"stakinghash","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Staking summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vec"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}},"/tx/{addr}":{"get":{"tags":["tx"],"operationId":"get_tx","parameters":[{"name":"addr","in":"path","description":"The tx address to query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Transaction summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vec"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"token":[]},{"cookie_auth":[]},{"cookie_signature":[]}]}}},"components":{"schemas":{"AddressDetails":{"type":"object","required":["address","count","sum"],"properties":{"address":{"type":"string"},"count":{"type":"integer","format":"int64"},"sum":{"type":"integer","format":"int64"}}},"AddressResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/AddressDetails"},"summary":{"type":"string","example":"address"}}},"BlockDetails":{"type":"object","required":["hash","epoch_no","slot_no","size","time","tx count","proto_major","proto_minor"],"properties":{"epoch_no":{"type":"integer","format":"int64"},"hash":{"type":"string"},"next block":{"type":["string","null"]},"previous block":{"type":["string","null"]},"proto_major":{"type":"string"},"proto_minor":{"type":"string"},"size":{"type":"integer","format":"int32"},"slot_no":{"type":"integer","format":"int64"},"time":{"type":"string"},"tx count":{"type":"integer","format":"int64"}}},"BlockInTxDetail":{"type":"object","required":["hash","epoch_no","slot_no","blocktime","tx count","proto_major","proto_minor"],"properties":{"blocktime":{"type":"string"},"epoch_no":{"type":"integer","format":"int64"},"hash":{"type":"string"},"proto_major":{"type":"string"},"proto_minor":{"type":"string"},"slot_no":{"type":"integer","format":"int64"},"tx count":{"type":"integer","format":"int64"}}},"BlockResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/BlockDetails"},"summary":{"type":"string","example":"block"}}},"DatumDetails":{"type":"object","required":["hash","tx_hash","json","bytes"],"properties":{"bytes":{"type":"string"},"hash":{"type":"string"},"json":{"type":"object"},"tx_hash":{"type":"string"}}},"DatumResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/DatumDetails"},"summary":{"type":"string","example":"datum"}}},"DelegationDetail":{"type":"object","required":["address","delegated pool","active epoch","delegation tx"],"properties":{"active epoch":{"type":"integer","format":"int64"},"address":{"type":"string"},"delegated pool":{"type":"string"},"delegation tx":{"type":"string"}}},"EpochDetails":{"type":"object","required":["epoch number","block count","filled%","first blocktime","last blocktime","first slot","last slot","size","tx count","epoch start","epoch end"],"properties":{"block count":{"type":"integer","format":"int64"},"epoch end":{"type":"string"},"epoch number":{"type":"integer","format":"int64"},"epoch start":{"type":"string"},"filled%":{"type":"number","format":"double"},"first blocktime":{"type":"string"},"first slot":{"type":"integer","format":"int64"},"last blocktime":{"type":"string"},"last slot":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int64"},"tx count":{"type":"integer","format":"int64"}}},"EpochResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/EpochDetails"},"summary":{"type":"string","example":"epoch"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string","example":"Unavailable"}}},"HealthResponse":{"type":"object","required":["status","database"],"properties":{"database":{"type":"string","example":"connected"},"status":{"type":"string","example":"healthy"}}},"LatestBlockResponse":{"type":"object","required":["slotno","epochno","blockhash"],"properties":{"blockhash":{"type":"string"},"epochno":{"type":"integer","format":"int64"},"slotno":{"type":"integer","format":"int64"}}},"MaAsset":{"type":"object","required":["name","policy","fingerprint"],"properties":{"fingerprint":{"type":"string"},"name":{"type":"string"},"policy":{"type":"string"}}},"MaPolicyDetails":{"type":"object","required":["policy","count"],"properties":{"count":{"type":"integer","format":"int64"},"policy":{"type":"string"}}},"MaPolicyResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/MaPolicyDetails"},"summary":{"type":"string","example":"ma_policy"}}},"MaResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"type":"array","items":{"$ref":"#/components/schemas/MaAsset"}},"summary":{"type":"string","example":"ma"}}},"MaTxItem":{"type":"object","properties":{"fingerprint":{"type":["string","null"]},"name":{"type":["string","null"]},"policy":{"type":["string","null"]},"quantity":{"type":["integer","null"],"format":"int64"}}},"PaginatedResponse":{"type":"object","required":["data","page","page_size","total_count","total_pages","has_next"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"has_next":{"type":"boolean"},"page":{"type":"integer","format":"int32","minimum":0},"page_size":{"type":"integer","format":"int32","minimum":0},"total_count":{"type":"integer","format":"int64"},"total_pages":{"type":"integer","format":"int32","minimum":0}}},"PoolDelegationCount":{"type":"object","required":["hash","delegations"],"properties":{"delegations":{"type":"integer","format":"int64"},"hash":{"type":"string"}}},"PoolDetails":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/PoolUpdateDetail"}},{"$ref":"#/components/schemas/PoolDelegationCount"}]},"PoolHashResponse":{"type":"object","required":["poolhash","poolid"],"properties":{"poolhash":{"type":"string"},"poolid":{"type":"string"}}},"PoolUpdateDetail":{"type":"object","required":["poolhash","poolid","pledge","active epoch","active time","margin","fixed cost"],"properties":{"active epoch":{"type":"integer","format":"int64"},"active time":{"type":"string"},"deposit":{"type":["integer","null"],"format":"int64"},"fixed cost":{"type":"integer","format":"int64"},"margin":{"type":"number","format":"double"},"pledge":{"type":"integer","format":"int64"},"poolhash":{"type":"string"},"poolid":{"type":"string"},"registered tx":{"type":["string","null"]},"reward address":{"type":["string","null"]}}},"Row":{"type":"object","required":["blocktime","epoch_no","outputs","inputs"],"properties":{"blocktime":{"type":"string"},"epoch_no":{"type":"integer","format":"int32"},"inputs":{"type":"number","format":"double"},"outputs":{"type":"number","format":"double"}}},"ScriptDetails":{"type":"object","required":["hash","size","type","json","bytes","tx_hash"],"properties":{"bytes":{"type":"string"},"hash":{"type":"string"},"json":{"type":"object"},"size":{"type":"integer","format":"int32"},"tx_hash":{"type":"string"},"type":{"type":"string"}}},"ScriptResponse":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/ScriptDetails"},"summary":{"type":"string","example":"script"}}},"SlotResponse":{"type":"object","required":["blockhash"],"properties":{"blockhash":{"type":"string","example":"blockhash"}}},"StakingAddressOnly":{"type":"object","required":["address"],"properties":{"address":{"type":"string"}}},"StakingCountSum":{"type":"object","required":["address","count","sum"],"properties":{"address":{"type":"string"},"count":{"type":"integer","format":"int64"},"sum":{"type":"integer","format":"int64"}}},"StakingDetails":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/DelegationDetail"}},{"$ref":"#/components/schemas/StakingCountSum"},{"$ref":"#/components/schemas/StakingAddressOnly"}]},"TxDetails":{"oneOf":[{"$ref":"#/components/schemas/TxSummaryDetail"},{"$ref":"#/components/schemas/BlockInTxDetail"},{"type":"array","items":{"$ref":"#/components/schemas/TxOutDetail"}},{"type":"array","items":{"$ref":"#/components/schemas/TxInDetail"}},{"type":"array","items":{"$ref":"#/components/schemas/TxMetadataDetail"}},{"type":"array","items":{"$ref":"#/components/schemas/TxMintDetail"}},{"type":"array","items":{"$ref":"#/components/schemas/TxScriptDetail"}}]},"TxInDetail":{"type":"object","required":["from_address","value","epoch_no","slot_no","blocktime","tx_hash","tx index in block","tx_out index"],"properties":{"blocktime":{"type":"string"},"epoch_no":{"type":"integer","format":"int64"},"from_address":{"type":"string"},"inline datum":{"type":["string","null"]},"ma":{"type":["array","null"],"items":{"$ref":"#/components/schemas/MaTxItem"}},"slot_no":{"type":"integer","format":"int64"},"tx index in block":{"type":"string"},"tx_hash":{"type":"string"},"tx_out index":{"type":"string"},"value":{"type":"integer","format":"int64"}}},"TxMetadataDetail":{"type":"object","required":["key","json"],"properties":{"bytes":{"type":["string","null"]},"json":{"type":"object"},"key":{"type":"integer","format":"int64"}}},"TxMintDetail":{"type":"object","required":["quantity","name","policy","fingerprint"],"properties":{"fingerprint":{"type":"string"},"name":{"type":"string"},"policy":{"type":"string"},"quantity":{"type":"integer","format":"int64"}}},"TxOutDetail":{"type":"object","required":["address","value"],"properties":{"address":{"type":"string"},"consumed_by_tx_id":{"type":["integer","null"],"format":"int64"},"inline datum":{"type":["string","null"]},"ma":{"type":["array","null"],"items":{"$ref":"#/components/schemas/MaTxItem"}},"reference_script_id":{"type":["integer","null"],"format":"int64"},"staking address":{"type":["string","null"]},"value":{"type":"integer","format":"int64"}}},"TxScriptDetail":{"type":"object","required":["hash","type","json"],"properties":{"bytes":{"type":["string","null"]},"hash":{"type":"string"},"json":{"type":"object"},"type":{"type":"string"}}},"TxSummaryDetail":{"type":"object","required":["hash","block_index","out_sum","fee","deposit","size","script_size","valid_contract","treasury_donation"],"properties":{"block_index":{"type":"integer","format":"int32"},"deposit":{"type":"integer","format":"int64"},"fee":{"type":"integer","format":"int64"},"hash":{"type":"string"},"invalid_before":{"type":["integer","null"],"format":"int64"},"invalid_hereafter":{"type":["integer","null"],"format":"int64"},"out_sum":{"type":"integer","format":"int64"},"script_size":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"treasury_donation":{"type":"integer","format":"int64"},"valid_contract":{"type":"boolean"}}},"Vec":{"type":"array","items":{"type":"object","required":["summary","details"],"properties":{"details":{"$ref":"#/components/schemas/TxDetails"},"summary":{"type":"string"}}}}},"securitySchemes":{"cookie_auth":{"type":"apiKey","in":"cookie","name":"ghost-members-ssr"},"cookie_signature":{"type":"apiKey","in":"cookie","name":"ghost-members-ssr.sig"},"token":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"address","description":"Get transactions on addresses, paged"},{"name":"health","description":"Health check and monitoring endpoints"}]}