-
Notifications
You must be signed in to change notification settings - Fork 25
BlockFrostAPI
- accounts
- accountsAddresses
- accountsAddressesAll
- accountsAddressesAssets
- accountsAddressesAssetsAll
- accountsAddressesTotal
- accountsDelegations
- accountsDelegationsAll
- accountsHistory
- accountsHistoryAll
- accountsMirs
- accountsMirsAll
- accountsRegistrations
- accountsRegistrationsAll
- accountsRewards
- accountsRewardsAll
- accountsWithdrawals
- accountsWithdrawalsAll
- addresses
- addressesExtended
- addressesTotal
- addressesTransactions
- addressesTransactionsAll
- addressesUtxos
- addressesUtxosAll
- addressesUtxosAsset
- addressesUtxosAssetAll
- apiUrl
- assets
- assetsAddresses
- assetsById
- assetsHistory
- assetsHistoryAll
- assetsPolicyById
- assetsPolicyByIdAll
- assetsTransactions
- blocks
- blocksAddresses
- blocksAddressesAll
- blocksLatest
- blocksLatestTxs
- blocksLatestTxsAll
- blocksNext
- blocksPrevious
- blocksTxs
- blocksTxsAll
- epochs
- epochsBlocks
- epochsBlocksAll
- epochsBlocksByPoolId
- epochsBlocksByPoolIdAll
- epochsLatest
- epochsLatestParameters
- epochsNext
- epochsParameters
- epochsPrevious
- epochsStakes
- epochsStakesAll
- epochsStakesByPoolId
- epochsStakesByPoolIdAll
- genesis
- health
- healthClock
- mempool
- mempoolAll
- mempoolTx
- metadataTxsLabel
- metadataTxsLabelCbor
- metadataTxsLabels
- metrics
- metricsEndpoints
- network
- nutlinkAddress
- nutlinkAddressTicker
- nutlinkAddressTickerAll
- nutlinkAddressTickers
- nutlinkAddressTickersAll
- nutlinkTickers
- nutlinkTickersAll
- poolMetadata
- pools
- poolsAll
- poolsById
- poolsByIdBlocks
- poolsByIdDelegators
- poolsByIdHistory
- poolsByIdRelays
- poolsByIdUpdates
- poolsExtended
- poolsExtendedAll
- poolsRetired
- poolsRetiring
- root
- scripts
- scriptsByHash
- scriptsCbor
- scriptsDatum
- scriptsDatumCbor
- scriptsJson
- scriptsRedeemers
- txSubmit
- txs
- txsDelegations
- txsMetadata
- txsMetadataCbor
- txsMirs
- txsPoolRetires
- txsPoolUpdates
- txsRedeemers
- txsStakes
- txsUtxos
- txsWithdrawals
• new BlockFrostAPI(options?
)
Name | Type |
---|---|
options? |
Options |
• accounts: (this
: BlockFrostAPI
, stakeAddress
: string
) => Promise
<components
["schemas"
]["account_content"
]> = accounts
▸ (this
, stakeAddress
): Promise
<components
["schemas"
]["account_content"
]>
Obtains information about a specific stake account.
See
API docs for Specific account address
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
Promise
<components
["schemas"
]["account_content"
]>
Information about a specific stake account.
• accountsAddresses: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_addresses_content"
]> = accountsAddresses
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_addresses_content"
]>
Obtains information about the addresses of a specific account.
See
API docs for Account associated addresses
Remarks
Be careful, as an account could be part of a mangled address and does not necessarily mean the addresses are owned by user as the account.
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_addresses_content"
]>
Information about the addresses of a specific account.
• accountsAddressesAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_addresses_content"
]> = accountsAddressesAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_addresses_content"
]>
Obtains information about all addresses of a specific account.
See
API docs for Account associated addresses
Remarks
Be careful, as an account could be part of a mangled address and does not necessarily mean the addresses are owned by user as the account.
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_addresses_content"
]>
Information about the addresses of a specific account.
• accountsAddressesAssets: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_addresses_assets"
]> = accountsAddressesAssets
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_addresses_assets"
]>
Obtains information about assets associated with addresses of a specific account.
See
API docs for Assets associated with the account addresses
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_addresses_assets"
]>
Assets associated with the account addresses
• accountsAddressesAssetsAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_addresses_assets"
]> = accountsAddressesAssetsAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_addresses_assets"
]>
Obtains information about all assets associated with addresses of a specific account.
See
API docs for Assets associated with the account addresses
Remarks
Variant of accountsAddressesAssets
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_addresses_assets"
]>
Assets associated with the account addresses
• accountsAddressesTotal: (this
: BlockFrostAPI
, stakeAddress
: string
) => Promise
<components
["schemas"
]["account_addresses_total"
]> = accountsAddressesTotal
▸ (this
, stakeAddress
): Promise
<components
["schemas"
]["account_addresses_total"
]>
Obtains summed details about all addresses associated with a given account.
See
API docs for Detailed information about account associated addresses
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
Promise
<components
["schemas"
]["account_addresses_total"
]>
Summed details of the addresses associated with a given account
• accountsDelegations: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_delegation_content"
]> = accountsDelegations
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_delegation_content"
]>
Obtains information about the delegation of a specific account.
See
API docs for Account delegation history
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_delegation_content"
]>
Information about the delegation of a specific account.
• accountsDelegationsAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_delegation_content"
]> = accountsDelegationsAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_delegation_content"
]>
Obtains information about all delegations of a specific account.
See
API docs for Account delegation history
Remarks
Variant of accountsDelegations
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_delegation_content"
]>
Information about the delegation of a specific account.
• accountsHistory: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_history_content"
]> = accountsHistory
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_history_content"
]>
Obtains information about the history of a specific account.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_history_content"
]>
Information about the history of a specific account.
• accountsHistoryAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_history_content"
]> = accountsHistoryAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_history_content"
]>
Obtains information about the whole history of a specific account.
See
Remarks
Variant of accountsHistory
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_history_content"
]>
Information about the history of a specific account.
• accountsMirs: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_mir_content"
]> = accountsMirs
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_mir_content"
]>
Obtains information about the MIRs of a specific account.
See
API docs for Account MIR history
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_mir_content"
]>
Information about the MIRs of a specific account.
• accountsMirsAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_mir_content"
]> = accountsMirsAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_mir_content"
]>
Obtains information about the MIRs of a specific account.
See
API docs for Account MIR history
Remarks
Variant of accountsMirs
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_mir_content"
]>
Information about the MIRs of a specific account.
• accountsRegistrations: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_registration_content"
]> = accountsRegistrations
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_registration_content"
]>
Obtains information about the registrations and deregistrations of a specific account.
See
API docs for Account registration history
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_registration_content"
]>
Information about the registrations and deregistrations of a specific account.
• accountsRegistrationsAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_registration_content"
]> = accountsRegistrationsAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_registration_content"
]>
Obtains information about the registrations and deregistrations of a specific account.
See
API docs for Account registration history
Remarks
Variant of accountsRegistrations
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_registration_content"
]>
Information about the registrations and deregistrations of a specific account.
• accountsRewards: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_reward_content"
]> = accountsRewards
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_reward_content"
]>
Obtains information about the reward history of a specific account.
See
API docs for Account reward history
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_reward_content"
]>
Information about the history of a specific account.
• accountsRewardsAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_reward_content"
]> = accountsRewardsAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_reward_content"
]>
Obtains information about the whole reward history of a specific account.
See
API docs for Account reward history
Remarks
Variant of accountsRewards
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_reward_content"
]>
Information about the reward history of a specific account.
• accountsWithdrawals: (this
: BlockFrostAPI
, stakeAddress
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["account_withdrawal_content"
]> = accountsWithdrawals
▸ (this
, stakeAddress
, pagination?
): Promise
<components
["schemas"
]["account_withdrawal_content"
]>
Obtains information about the withdrawals of a specific account.
See
API docs for Account withdrawal history
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["account_withdrawal_content"
]>
Information about the withdrawals of a specific account.
• accountsWithdrawalsAll: (this
: BlockFrostAPI
, stakeAddress
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["account_withdrawal_content"
]> = accountsWithdrawalsAll
▸ (this
, stakeAddress
, allMethodOptions?
): Promise
<components
["schemas"
]["account_withdrawal_content"
]>
Obtains information about all withdrawals of a specific account.
See
API docs for Account withdrawal history
Remarks
Variant of accountsWithdrawals
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
stakeAddress |
string |
Bech32 stake address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["account_withdrawal_content"
]>
Information about all withdrawals of a specific account.
• addresses: (this
: BlockFrostAPI
, address
: string
) => Promise
<components
["schemas"
]["address_content"
]> = addresses
▸ (this
, address
): Promise
<components
["schemas"
]["address_content"
]>
Obtains information about a specific address.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
Promise
<components
["schemas"
]["address_content"
]>
Information about a specific stake account.
• addressesExtended: (this
: BlockFrostAPI
, address
: string
) => Promise
<components
["schemas"
]["address_content_extended"
]> = addressesExtended
▸ (this
, address
): Promise
<components
["schemas"
]["address_content_extended"
]>
Obtains extended information about a specific address.
See
API docs for Extended information of a specific address
Remarks
Similar to addresses
with the addition of has_nft_onchain_metadata
and decimals
fields in asset amounts.
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
Promise
<components
["schemas"
]["address_content_extended"
]>
Extended information about a specific address
• addressesTotal: (this
: BlockFrostAPI
, address
: string
) => Promise
<components
["schemas"
]["address_content_total"
]> = addressesTotal
▸ (this
, address
): Promise
<components
["schemas"
]["address_content_total"
]>
Obtains aggregated details about transactions for a specific address (received assets, sent assets, number of transactions).
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
Promise
<components
["schemas"
]["address_content_total"
]>
Aggregated details about an address (received assets, sent assets, number of transactions)
• addressesTransactions: (this
: BlockFrostAPI
, address
: string
, pagination?
: PaginationOptions
, additionalOptions?
: AdditionalEndpointOptions
) => Promise
<components
["schemas"
]["address_transactions_content"
]> = addressesTransactions
▸ (this
, address
, pagination?
, additionalOptions?
): Promise
<components
["schemas"
]["address_transactions_content"
]>
Obtains transactions on the address.
See
API docs for Address transactions
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
pagination? |
PaginationOptions |
Optional, Pagination options |
additionalOptions? |
AdditionalEndpointOptions |
Optional, Additional options such as cursor pagination |
Promise
<components
["schemas"
]["address_transactions_content"
]>
Extended information about a specific address
• addressesTransactionsAll: (this
: BlockFrostAPI
, address
: string
, allMethodOptions?
: AllMethodOptions
, additionalOptions?
: AdditionalEndpointOptions
) => Promise
<components
["schemas"
]["address_transactions_content"
]> = addressesTransactionsAll
▸ (this
, address
, allMethodOptions?
, additionalOptions?
): Promise
<components
["schemas"
]["address_transactions_content"
]>
Obtains all transactions on the address.
See
API docs for Address transactions
Remarks
Variant of addressesTransactions
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
additionalOptions? |
AdditionalEndpointOptions |
Optional, Additional options such as cursor pagination |
Promise
<components
["schemas"
]["address_transactions_content"
]>
Extended information about a specific address
• addressesUtxos: (this
: BlockFrostAPI
, address
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["address_utxo_content"
]> = addressesUtxos
▸ (this
, address
, pagination?
): Promise
<components
["schemas"
]["address_utxo_content"
]>
Obtains UTXOs of the address
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["address_utxo_content"
]>
UTXOs of the address
• addressesUtxosAll: (this
: BlockFrostAPI
, address
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["address_utxo_content"
]> = addressesUtxosAll
▸ (this
, address
, allMethodOptions?
): Promise
<components
["schemas"
]["address_utxo_content"
]>
Obtains all UTXOs of the address
See
Remarks
Variant of addressesUtxos
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["address_utxo_content"
]>
UTXOs of the address
• addressesUtxosAsset: (this
: BlockFrostAPI
, address
: string
, asset
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["address_utxo_content"
]> = addressesUtxosAsset
▸ (this
, address
, asset
, pagination?
): Promise
<components
["schemas"
]["address_utxo_content"
]>
Obtains address's UTXOs containing a given asset (paginated)
See
API docs for Address UTXOs of a given asset
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["address_utxo_content"
]>
List of the address's utxos containing a given asset
• addressesUtxosAssetAll: (this
: BlockFrostAPI
, address
: string
, asset
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["address_utxo_content"
]> = addressesUtxosAssetAll
▸ (this
, address
, asset
, allMethodOptions?
): Promise
<components
["schemas"
]["address_utxo_content"
]>
Obtains all address's UTXOs containing a given asset
See
API docs for Address UTXOs of a given asset
Remarks
Variant of addressesUtxosAsset
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
address |
string |
Bech32 address |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["address_utxo_content"
]>
List of the address's utxos containing a given asset
• apiUrl: string
• assets: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["assets"
]> = assets
▸ (this
, pagination?
): Promise
<components
["schemas"
]["assets"
]>
Obtains list of assets.
See
Remarks
If an asset is completely burned, it will stay on the list with quantity 0 (order of assets is immutable).
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["assets"
]>
List of assets
• assetsAddresses: (this
: BlockFrostAPI
, asset
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["asset_addresses"
]> = assetsAddresses
▸ (this
, asset
, pagination?
): Promise
<components
["schemas"
]["asset_addresses"
]>
Obtains list of a addresses containing a specific asset.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["asset_addresses"
]>
List of a addresses containing a specific asset.
• assetsById: (this
: BlockFrostAPI
, asset
: string
) => Promise
<components
["schemas"
]["asset"
]> = assetsById
▸ (this
, asset
): Promise
<components
["schemas"
]["asset"
]>
Obtains information about a specific asset.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
Promise
<components
["schemas"
]["asset"
]>
Information about a specific asset.
• assetsHistory: (this
: BlockFrostAPI
, asset
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["asset_history"
]> = assetsHistory
▸ (this
, asset
, pagination?
): Promise
<components
["schemas"
]["asset_history"
]>
Obtains history of a specific asset.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["asset_history"
]>
History of a specific asset.
• assetsHistoryAll: (this
: BlockFrostAPI
, asset
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["asset_history"
]> = assetsHistoryAll
▸ (this
, asset
, allMethodOptions?
): Promise
<components
["schemas"
]["asset_history"
]>
Obtains whole history of a specific asset.
See
Remarks
Variant of assetsHistory
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["asset_history"
]>
Whole history of a specific asset.
• assetsPolicyById: (this
: BlockFrostAPI
, policyId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["asset_policy"
]> = assetsPolicyById
▸ (this
, policyId
, pagination?
): Promise
<components
["schemas"
]["asset_policy"
]>
Obtains list of assets minted under a specific policy.
See
API docs for Assets of a specific policy
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
policyId |
string |
Specific policy ID |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["asset_policy"
]>
List of assets minted under a specific policy.
• assetsPolicyByIdAll: (this
: BlockFrostAPI
, policyId
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["asset_policy"
]> = assetsPolicyByIdAll
▸ (this
, policyId
, allMethodOptions?
): Promise
<components
["schemas"
]["asset_policy"
]>
Obtains list of all assets minted under a specific policy.
See
API docs for Assets of a specific policy
Remarks
Variant of assetsPolicyById
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
policyId |
string |
Specific policy ID |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["asset_policy"
]>
List of asset minted under a specific policy.
• assetsTransactions: (this
: BlockFrostAPI
, asset
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["asset_transactions"
]> = assetsTransactions
▸ (this
, asset
, pagination?
): Promise
<components
["schemas"
]["asset_transactions"
]>
Lists of transactions of a specific asset.
See
API docs for Asset transactions
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
asset |
string |
Concatenation of the policy ID and hex-encoded asset name |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["asset_transactions"
]>
List of a specific asset transactions.
• blocks: (this
: BlockFrostAPI
, hashOrNumber
: HashOrNumber
) => Promise
<components
["schemas"
]["block_content"
]> = blocks
▸ (this
, hashOrNumber
): Promise
<components
["schemas"
]["block_content"
]>
Obtains a specific block.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
HashOrNumber |
Hash or number of the requested block |
Promise
<components
["schemas"
]["block_content"
]>
Specific block
• blocksAddresses: (this
: BlockFrostAPI
, hashOrNumber
: HashOrNumber
, pagination?
: Omit
<PaginationOptions
, "order"
>) => Promise
<components
["schemas"
]["block_content_addresses"
]> = blocksAddresses
▸ (this
, hashOrNumber
, pagination?
): Promise
<components
["schemas"
]["block_content_addresses"
]>
Obtains list of addresses affected in the specified block with additional information.
Remarks
Sorted by the bech32 address, in ascending order.
See
API docs for Addresses affected in a specific block
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
HashOrNumber |
Hash or number of the requested block |
pagination? |
Omit <PaginationOptions , "order" > |
Optional, Pagination options |
Promise
<components
["schemas"
]["block_content_addresses"
]>
List of addresses affected in the specified block
• blocksAddressesAll: (this
: BlockFrostAPI
, hashOrNumber
: string
| number
, allMethodOptions?
: Omit
<AllMethodOptions
, "order"
>) => Promise
<components
["schemas"
]["block_content_addresses"
]> = blocksAddressesAll
▸ (this
, hashOrNumber
, allMethodOptions?
): Promise
<components
["schemas"
]["block_content_addresses"
]>
Obtains list of addresses affected in the specified block with additional information.
See
API docs for Addresses affected in a specific block
Remarks
Sorted by the bech32 address, in ascending order.
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
string | number
|
Hash or number of the requested block |
allMethodOptions? |
Omit <AllMethodOptions , "order" > |
Optional, Options for request batching |
Promise
<components
["schemas"
]["block_content_addresses"
]>
List of addresses affected in the specified block
• blocksLatest: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["block_content"
]> = blocksLatest
▸ (this
): Promise
<components
["schemas"
]["block_content"
]>
Obtains the specific block available to the backends, also known as the tip of the blockchain.
See
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["block_content"
]>
latest block
• blocksLatestTxs: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["block_content_txs"
]> = blocksLatestTxs
▸ (this
, pagination?
): Promise
<components
["schemas"
]["block_content_txs"
]>
Obtains transactions within the latest block.
See
API docs for Latest block transactions
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["block_content_txs"
]>
transactions within the latest block
• blocksLatestTxsAll: (this
: BlockFrostAPI
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["block_content_txs"
]> = blocksLatestTxsAll
▸ (this
, allMethodOptions?
): Promise
<components
["schemas"
]["block_content_txs"
]>
Obtains all transactions within the latest block.
See
API docs for Latest block transactions
Remarks
Variant of blocksLatestTxs
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["block_content_txs"
]>
transactions within the latest block
• blocksNext: (this
: BlockFrostAPI
, hashOrNumber
: HashOrNumber
, pagination?
: Omit
<PaginationOptions
, "order"
>) => Promise
<components
["schemas"
]["block_content_array"
]> = blocksNext
▸ (this
, hashOrNumber
, pagination?
): Promise
<components
["schemas"
]["block_content_array"
]>
Obtains list of blocks following a specific block.
See
API docs for Listing of next blocks
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
HashOrNumber |
Hash or number of the requested block |
pagination? |
Omit <PaginationOptions , "order" > |
Optional, Pagination options |
Promise
<components
["schemas"
]["block_content_array"
]>
List of blocks following a specific block
• blocksPrevious: (this
: BlockFrostAPI
, hashOrNumber
: HashOrNumber
, pagination?
: Omit
<PaginationOptions
, "order"
>) => Promise
<components
["schemas"
]["block_content_array"
]> = blocksPrevious
▸ (this
, hashOrNumber
, pagination?
): Promise
<components
["schemas"
]["block_content_array"
]>
Obtains list of blocks preceding a specific block.
See
API docs for Listing of previous blocks
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
HashOrNumber |
Hash or number of the requested block |
pagination? |
Omit <PaginationOptions , "order" > |
Optional, Pagination options |
Promise
<components
["schemas"
]["block_content_array"
]>
List of blocks preceding a specific block
• blocksTxs: (this
: BlockFrostAPI
, hashOrNumber
: HashOrNumber
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["block_content_txs"
]> = blocksTxs
▸ (this
, hashOrNumber
, pagination?
): Promise
<components
["schemas"
]["block_content_txs"
]>
Obtains transactions within the specific block.
See
API docs for Block transactions
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
HashOrNumber |
Hash or number of the requested block |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["block_content_txs"
]>
Transactions within the specific block
• blocksTxsAll: (this
: BlockFrostAPI
, hashOrNumber
: string
| number
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["block_content_txs"
]> = blocksTxsAll
▸ (this
, hashOrNumber
, allMethodOptions?
): Promise
<components
["schemas"
]["block_content_txs"
]>
Obtains all transactions within the specific block.
See
API docs for Block transactions
Remarks
Variant of blocksTxs
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hashOrNumber |
string | number
|
Hash or number of the requested block |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["block_content_txs"
]>
All transactions within the specific block
• epochs: (this
: BlockFrostAPI
, number
: number
) => Promise
<components
["schemas"
]["epoch_content"
]> = epochs
▸ (this
, number
): Promise
<components
["schemas"
]["epoch_content"
]>
Obtains information about a specific epoch.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
Promise
<components
["schemas"
]["epoch_content"
]>
Information about a specific epoch.
• epochsBlocks: (this
: BlockFrostAPI
, number
: number
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["epoch_block_content"
]> = epochsBlocks
▸ (this
, number
, pagination?
): Promise
<components
["schemas"
]["epoch_block_content"
]>
Obtains the blocks minted for the epoch specified.
See
API docs for Block distribution
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["epoch_block_content"
]>
Blocks minted for the epoch specified
• epochsBlocksAll: (this
: BlockFrostAPI
, number
: number
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["epoch_block_content"
]> = epochsBlocksAll
▸ (this
, number
, allMethodOptions?
): Promise
<components
["schemas"
]["epoch_block_content"
]>
Obtains the blocks minted for the epoch specified.
See
API docs for Block distribution
Remarks
Variant of epochsBlocks
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["epoch_block_content"
]>
Blocks minted for the epoch specified
• epochsBlocksByPoolId: (this
: BlockFrostAPI
, number
: number
, poolId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["epoch_block_content"
]> = epochsBlocksByPoolId
▸ (this
, number
, poolId
, pagination?
): Promise
<components
["schemas"
]["epoch_block_content"
]>
Obtains the blocks minted for the epoch specified by stake pool.
See
API docs for Block distribution by pool
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
poolId |
string |
Stake pool ID to filter |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["epoch_block_content"
]>
Blocks minted for the epoch specified by stake pool
• epochsBlocksByPoolIdAll: (this
: BlockFrostAPI
, number
: number
, poolId
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["epoch_block_content"
]> = epochsBlocksByPoolIdAll
▸ (this
, number
, poolId
, allMethodOptions?
): Promise
<components
["schemas"
]["epoch_block_content"
]>
Obtains the blocks minted for the epoch specified by stake pool.
See
API docs for Block distribution by pool
Remarks
Variant of epochsBlocksByPoolId
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
poolId |
string |
Stake pool ID to filter |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["epoch_block_content"
]>
Blocks minted for the epoch specified by stake pool
• epochsLatest: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["epoch_content"
]> = epochsLatest
▸ (this
): Promise
<components
["schemas"
]["epoch_content"
]>
Obtains the information about the latest, therefore current, epoch.
See
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["epoch_content"
]>
Information about the current epoch.
• epochsLatestParameters: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["epoch_param_content"
]> = epochsLatestParameters
▸ (this
): Promise
<components
["schemas"
]["epoch_param_content"
]>
Obtains the protocol parameters for the latest epoch.
See
API docs for Latest epoch protocol parameters
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["epoch_param_content"
]>
Protocol parameters for the latest epoch
• epochsNext: (this
: BlockFrostAPI
, number
: number
, pagination?
: Omit
<PaginationOptions
, "order"
>) => Promise
<components
["schemas"
]["epoch_content_array"
]> = epochsNext
▸ (this
, number
, pagination?
): Promise
<components
["schemas"
]["epoch_content_array"
]>
Obtains a list of epochs following a specific epoch.
See
API docs for Listing of next epochs
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
pagination? |
Omit <PaginationOptions , "order" > |
Optional, Pagination options |
Promise
<components
["schemas"
]["epoch_content_array"
]>
List of epochs following a specific epoch.
• epochsParameters: (this
: BlockFrostAPI
, number
: number
) => Promise
<components
["schemas"
]["epoch_param_content"
]> = epochsParameters
▸ (this
, number
): Promise
<components
["schemas"
]["epoch_param_content"
]>
Obtains the protocol parameters for the epoch specified.
See
API docs for Protocol Parameters
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
Promise
<components
["schemas"
]["epoch_param_content"
]>
Protocol parameters for the epoch specified
• epochsPrevious: (this
: BlockFrostAPI
, number
: number
, pagination?
: Omit
<PaginationOptions
, "order"
>) => Promise
<components
["schemas"
]["epoch_content_array"
]> = epochsPrevious
▸ (this
, number
, pagination?
): Promise
<components
["schemas"
]["epoch_content_array"
]>
Obtains a list of epochs preceding a specific epoch.
See
API docs for Listing of next epochs
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
pagination? |
Omit <PaginationOptions , "order" > |
Optional, Pagination options |
Promise
<components
["schemas"
]["epoch_content_array"
]>
List of epochs preceding a specific epoch.
• epochsStakes: (this
: BlockFrostAPI
, number
: number
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["epoch_stake_content"
]> = epochsStakes
▸ (this
, number
, pagination?
): Promise
<components
["schemas"
]["epoch_stake_content"
]>
Obtains the active stake distribution for the specified epoch.
See
API docs for Stake distribution
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["epoch_stake_content"
]>
Active stake distribution for the specified epoch
• epochsStakesAll: (this
: BlockFrostAPI
, number
: number
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["epoch_stake_content"
]> = epochsStakesAll
▸ (this
, number
, allMethodOptions?
): Promise
<components
["schemas"
]["epoch_stake_content"
]>
Obtains the whole active stake distribution for the specified epoch.
See
API docs for Stake distribution
Remarks
Variant of epochsStakes
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["epoch_stake_content"
]>
Active stake distribution for the specified epoch
• epochsStakesByPoolId: (this
: BlockFrostAPI
, number
: number
, poolId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["epoch_stake_pool_content"
]> = epochsStakesByPoolId
▸ (this
, number
, poolId
, pagination?
): Promise
<components
["schemas"
]["epoch_stake_pool_content"
]>
Obtains the active stake distribution for the epoch specified by stake pool.
See
API docs for Stake distribution
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
poolId |
string |
Stake pool ID to filter |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["epoch_stake_pool_content"
]>
Active stake distribution for the epoch specified by stake pool
• epochsStakesByPoolIdAll: (this
: BlockFrostAPI
, number
: number
, poolId
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["epoch_stake_pool_content"
]> = epochsStakesByPoolIdAll
▸ (this
, number
, poolId
, allMethodOptions?
): Promise
<components
["schemas"
]["epoch_stake_pool_content"
]>
Obtains the whole active stake distribution for the epoch specified by stake pool.
See
API docs for Stake distribution
Remarks
Variant of epochsStakesByPoolId
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
number |
number |
Number of the epoch |
poolId |
string |
Stake pool ID to filter |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["epoch_stake_pool_content"
]>
Active stake distribution for the epoch specified by stake pool
• genesis: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["genesis_content"
]> = genesis
▸ (this
): Promise
<components
["schemas"
]["genesis_content"
]>
Obtains the information about blockchain genesis.
See
API docs for Blockchain genesis
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["genesis_content"
]>
Genesis parameters
• health: (this
: BlockFrostAPI
) => Promise
<{ is_healthy
: boolean
}> = health
▸ (this
): Promise
<{ is_healthy
: boolean
}>
Obtains backend status
Remarks
Your application should handle situations when backend for the given chain is unavailable.
See
API docs for Backend health status
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<{ is_healthy
: boolean
}>
Backend status in the format {is_healthy: boolean}
• healthClock: (this
: BlockFrostAPI
) => Promise
<{ server_time
: number
}> = healthClock
▸ (this
): Promise
<{ server_time
: number
}>
Obtains the current UNIX time. Your application might use this to verify if the client clock is not out of sync.
See
API docs for Current backend time
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<{ server_time
: number
}>
Unix time in the format {server_time: number}
• mempool: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["mempool_content"
]> = mempool
▸ (this
, pagination?
): Promise
<components
["schemas"
]["mempool_content"
]>
Obtains transactions that are currently stored in Blockfrost mempool, waiting to be included in a newly minted block.
Remarks
Returns only transactions submitted via Blockfrost.io.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["mempool_content"
]>
List of transactions in Blockfrost Mempool
• mempoolAll: (this
: BlockFrostAPI
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["mempool_content"
]> = mempoolAll
▸ (this
, allMethodOptions?
): Promise
<components
["schemas"
]["mempool_content"
]>
Obtains all transactions that are currently stored in Blockfrost mempool, waiting to be included in a newly minted block.
Remarks
Returns only transactions submitted via Blockfrost.io.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["mempool_content"
]>
List of transactions in Blockfrost Mempool
• mempoolTx: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["mempool_tx_content"
]> = mempoolTx
▸ (this
, hash
): Promise
<components
["schemas"
]["mempool_tx_content"
]>
Obtains mempool transaction
See
API docs for Mempool transaction
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Hash of the requested transaction |
Promise
<components
["schemas"
]["mempool_tx_content"
]>
Specific mempool transaction
• metadataTxsLabel: (this
: BlockFrostAPI
, label
: string
| number
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["tx_metadata_label_json"
]> = metadataTxsLabel
▸ (this
, label
, pagination?
): Promise
<components
["schemas"
]["tx_metadata_label_json"
]>
Obtains transaction metadata for a specific label in JSON format.
See
API docs for Transaction metadata content in JSON
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
label |
string | number
|
Metadata label |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["tx_metadata_label_json"
]>
List of transaction metadata for the specific label
• metadataTxsLabelCbor: (this
: BlockFrostAPI
, label
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["tx_metadata_label_cbor"
]> = metadataTxsLabelCbor
▸ (this
, label
, pagination?
): Promise
<components
["schemas"
]["tx_metadata_label_cbor"
]>
Obtains transaction metadata for a specific label in CBOR format.
See
API docs for Transaction metadata content in CBOR
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
label |
string |
Metadata label |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["tx_metadata_label_cbor"
]>
List of transaction metadata for the specific label
• metadataTxsLabels: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["tx_metadata_labels"
]> = metadataTxsLabels
▸ (this
, pagination?
): Promise
<components
["schemas"
]["tx_metadata_labels"
]>
Obtains list of all used transaction metadata labels.
See
API docs for Transaction metadata labels
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["tx_metadata_labels"
]>
List of all used transaction metadata labels
• metrics: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["metrics"
]> = metrics
▸ (this
): Promise
<components
["schemas"
]["metrics"
]>
Obtains history of your Blockfrost usage metrics in the past 30 days.
See
API docs for Blockfrost usage metrics
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["metrics"
]>
Usage metrics for the last 30 days
• metricsEndpoints: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["metrics"
]> = metricsEndpoints
▸ (this
): Promise
<components
["schemas"
]["metrics"
]>
Obtains history of your Blockfrost usage metrics, grouped per endpoint, in the past 30 days.
See
API docs for Blockfrost endpoint usage metrics
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["metrics"
]>
Usage metrics for the last 30 days
• network: (this
: BlockFrostAPI
) => Promise
<components
["schemas"
]["network"
]> = network
▸ (this
): Promise
<components
["schemas"
]["network"
]>
Obtains detailed network information.
See
API docs for Network information
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<components
["schemas"
]["network"
]>
Detailed network information.
• nutlinkAddress: (this
: BlockFrostAPI
, address
: string
) => Promise
<components
["schemas"
]["nutlink_address"
]> = nutlinkAddress
▸ (this
, address
): Promise
<components
["schemas"
]["nutlink_address"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
address |
string |
Promise
<components
["schemas"
]["nutlink_address"
]>
• nutlinkAddressTicker: (this
: BlockFrostAPI
, address
: string
, ticker
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["nutlink_address_ticker"
]> = nutlinkAddressTicker
▸ (this
, address
, ticker
, pagination?
): Promise
<components
["schemas"
]["nutlink_address_ticker"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
address |
string |
ticker |
string |
pagination? |
PaginationOptions |
Promise
<components
["schemas"
]["nutlink_address_ticker"
]>
• nutlinkAddressTickerAll: (this
: BlockFrostAPI
, address
: string
, ticker
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["nutlink_address_ticker"
]> = nutlinkAddressTickerAll
▸ (this
, address
, ticker
, allMethodOptions?
): Promise
<components
["schemas"
]["nutlink_address_ticker"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
address |
string |
ticker |
string |
allMethodOptions? |
AllMethodOptions |
Promise
<components
["schemas"
]["nutlink_address_ticker"
]>
• nutlinkAddressTickers: (this
: BlockFrostAPI
, address
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["nutlink_address_tickers"
]> = nutlinkAddressTickers
▸ (this
, address
, pagination?
): Promise
<components
["schemas"
]["nutlink_address_tickers"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
address |
string |
pagination? |
PaginationOptions |
Promise
<components
["schemas"
]["nutlink_address_tickers"
]>
• nutlinkAddressTickersAll: (this
: BlockFrostAPI
, address
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["nutlink_address_tickers"
]> = nutlinkAddressTickersAll
▸ (this
, address
, allMethodOptions?
): Promise
<components
["schemas"
]["nutlink_address_tickers"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
address |
string |
allMethodOptions? |
AllMethodOptions |
Promise
<components
["schemas"
]["nutlink_address_tickers"
]>
• nutlinkTickers: (this
: BlockFrostAPI
, ticker
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["nutlink_tickers_ticker"
]> = nutlinkTickers
▸ (this
, ticker
, pagination?
): Promise
<components
["schemas"
]["nutlink_tickers_ticker"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
ticker |
string |
pagination? |
PaginationOptions |
Promise
<components
["schemas"
]["nutlink_tickers_ticker"
]>
• nutlinkTickersAll: (this
: BlockFrostAPI
, ticker
: string
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["nutlink_tickers_ticker"
]> = nutlinkTickersAll
▸ (this
, ticker
, allMethodOptions?
): Promise
<components
["schemas"
]["nutlink_tickers_ticker"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
ticker |
string |
allMethodOptions? |
AllMethodOptions |
Promise
<components
["schemas"
]["nutlink_tickers_ticker"
]>
• poolMetadata: (this
: BlockFrostAPI
, poolId
: string
) => Promise
<components
["schemas"
]["pool_metadata"
]> = poolMetadata
▸ (this
, poolId
): Promise
<components
["schemas"
]["pool_metadata"
]>
Obtains stake pool registration metadata.
See
API docs for Stake pool metadata
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
Promise
<components
["schemas"
]["pool_metadata"
]>
Stake pool registration metadata
• pools: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_list"
]> = pools
▸ (this
, pagination?
): Promise
<components
["schemas"
]["pool_list"
]>
Obtains list of registered stake pools (paginated).
See
API docs for List of stake pools
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["pool_list"
]>
List of registered stake pools.
• poolsAll: (this
: BlockFrostAPI
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["pool_list"
]> = poolsAll
▸ (this
, allMethodOptions?
): Promise
<components
["schemas"
]["pool_list"
]>
Obtains list of all registered stake pools.
See
API docs for List of stake pools
Remarks
Variant of pools
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["pool_list"
]>
List of registered stake pools.
• poolsById: (this
: BlockFrostAPI
, poolId
: string
) => Promise
<components
["schemas"
]["pool"
]> = poolsById
▸ (this
, poolId
): Promise
<components
["schemas"
]["pool"
]>
Obtains information of a specific stake pool.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
Promise
<components
["schemas"
]["pool"
]>
Information of a specific stake pool.
• poolsByIdBlocks: (this
: BlockFrostAPI
, poolId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_blocks"
]> = poolsByIdBlocks
▸ (this
, poolId
, pagination?
): Promise
<components
["schemas"
]["pool_blocks"
]>
Obtains list of stake pool blocks.
See
API docs for Stake pool blocks
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["pool_blocks"
]>
List of stake pool blocks
• poolsByIdDelegators: (this
: BlockFrostAPI
, poolId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_delegators"
]> = poolsByIdDelegators
▸ (this
, poolId
, pagination?
): Promise
<components
["schemas"
]["pool_delegators"
]>
Obtains current stake pool delegators.
See
API docs for Stake pool delegators
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
pagination? |
PaginationOptions |
- |
Promise
<components
["schemas"
]["pool_delegators"
]>
Current stake pool delegators
• poolsByIdHistory: (this
: BlockFrostAPI
, poolId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_history"
]> = poolsByIdHistory
▸ (this
, poolId
, pagination?
): Promise
<components
["schemas"
]["pool_history"
]>
Obtains history of stake pool parameters over epochs (paginated).
See
API docs for Stake pool history
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["pool_history"
]>
List of stake pool parameters per epoch
• poolsByIdRelays: (this
: BlockFrostAPI
, poolId
: string
) => Promise
<components
["schemas"
]["pool_relays"
]> = poolsByIdRelays
▸ (this
, poolId
): Promise
<components
["schemas"
]["pool_relays"
]>
Obtains stake pool relays.
See
API docs for Stake pool relays
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
Promise
<components
["schemas"
]["pool_relays"
]>
Stake pool relays
• poolsByIdUpdates: (this
: BlockFrostAPI
, poolId
: string
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_updates"
]> = poolsByIdUpdates
▸ (this
, poolId
, pagination?
): Promise
<components
["schemas"
]["pool_updates"
]>
Obtains list of certificate updates to the stake pool.
See
API docs for Stake pool updates
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
poolId |
string |
Pool ID |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["pool_updates"
]>
List of certificate updates to the stake pool
• poolsExtended: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_list_extended"
]> = poolsExtended
▸ (this
, pagination?
): Promise
<components
["schemas"
]["pool_list_extended"
]>
Obtains list of registered stake pools with additional information.
See
API docs for List of stake pools with additional information
Name | Type |
---|---|
this |
BlockFrostAPI |
pagination? |
PaginationOptions |
Promise
<components
["schemas"
]["pool_list_extended"
]>
List of registered stake pools with additional information
• poolsExtendedAll: (this
: BlockFrostAPI
, allMethodOptions?
: AllMethodOptions
) => Promise
<components
["schemas"
]["pool_list_extended"
]> = poolsExtendedAll
▸ (this
, allMethodOptions?
): Promise
<components
["schemas"
]["pool_list_extended"
]>
Obtains list of registered stake pools with additional information.
See
API docs for List of stake pools with additional information
Remarks
Variant of poolsExtended
method for fetching all pages with built-in requests batching
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
allMethodOptions? |
AllMethodOptions |
Optional, Options for request batching |
Promise
<components
["schemas"
]["pool_list_extended"
]>
List of registered stake pools with additional information
• poolsRetired: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_list_retire"
]> = poolsRetired
▸ (this
, pagination?
): Promise
<components
["schemas"
]["pool_list_retire"
]>
Name | Type |
---|---|
this |
BlockFrostAPI |
pagination? |
PaginationOptions |
Promise
<components
["schemas"
]["pool_list_retire"
]>
• poolsRetiring: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["pool_list_retire"
]> = poolsRetiring
▸ (this
, pagination?
): Promise
<components
["schemas"
]["pool_list_retire"
]>
Obtains list of stake pools retiring in the upcoming epochs (paginated).
See
API docs for List of retiring stake pools
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["pool_list_retire"
]>
List of stake pools retiring in the upcoming epochs
• root: (this
: BlockFrostAPI
) => Promise
<{ url
: string
; version
: string
}> = root
▸ (this
): Promise
<{ url
: string
; version
: string
}>
Obtains backend version number.
Name | Type |
---|---|
this |
BlockFrostAPI |
Promise
<{ url
: string
; version
: string
}>
Backend version in a format { url: string; version: string }
• scripts: (this
: BlockFrostAPI
, pagination?
: PaginationOptions
) => Promise
<components
["schemas"
]["scripts"
]> = scripts
▸ (this
, pagination?
): Promise
<components
["schemas"
]["scripts"
]>
Obtains list of scripts (paginated).
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
pagination? |
PaginationOptions |
Optional, Pagination options |
Promise
<components
["schemas"
]["scripts"
]>
List of scripts
• scriptsByHash: (this
: BlockFrostAPI
, scriptHash
: string
) => Promise
<components
["schemas"
]["script"
]> = scriptsByHash
▸ (this
, scriptHash
): Promise
<components
["schemas"
]["script"
]>
Obtains information about a specific script.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
scriptHash |
string |
Hash of the script |
Promise
<components
["schemas"
]["script"
]>
Information about a specific script
• scriptsCbor: (this
: BlockFrostAPI
, scriptHash
: string
) => Promise
<components
["schemas"
]["script_cbor"
]> = scriptsCbor
▸ (this
, scriptHash
): Promise
<components
["schemas"
]["script_cbor"
]>
Obtains CBOR representation of a plutus script.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
scriptHash |
string |
Hash of the script |
Promise
<components
["schemas"
]["script_cbor"
]>
CBOR representation of a plutus script
• scriptsDatum: (this
: BlockFrostAPI
, datumHash
: string
) => Promise
<components
["schemas"
]["script_datum"
]> = scriptsDatum
▸ (this
, datumHash
): Promise
<components
["schemas"
]["script_datum"
]>
Obtains JSON value of a datum by its hash.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
datumHash |
string |
Hash of the datum |
Promise
<components
["schemas"
]["script_datum"
]>
JSON value of a datum specified by its hash
• scriptsDatumCbor: (this
: BlockFrostAPI
, datumHash
: string
) => Promise
<components
["schemas"
]["script_datum_cbor"
]> = scriptsDatumCbor
▸ (this
, datumHash
): Promise
<components
["schemas"
]["script_datum_cbor"
]>
Obtains CBOR serialized datum by its hash.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
datumHash |
string |
Hash of the datum |
Promise
<components
["schemas"
]["script_datum_cbor"
]>
JSON value of a datum specified by its hash
• scriptsJson: (this
: BlockFrostAPI
, scriptHash
: string
) => Promise
<components
["schemas"
]["script_json"
]> = scriptsJson
▸ (this
, scriptHash
): Promise
<components
["schemas"
]["script_json"
]>
Obtains JSON representation of a timelock script.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
scriptHash |
string |
Hash of the script |
Promise
<components
["schemas"
]["script_json"
]>
JSON representation of a timelock script
• scriptsRedeemers: (this
: BlockFrostAPI
, scriptHash
: string
) => Promise
<components
["schemas"
]["script_redeemers"
]> = scriptsRedeemers
▸ (this
, scriptHash
): Promise
<components
["schemas"
]["script_redeemers"
]>
Obtains list of redeemers of a specific script
See
API docs for Redeemers of a specific script
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
scriptHash |
string |
Hash of the script |
Promise
<components
["schemas"
]["script_redeemers"
]>
List of redeemers of a specific script
• txSubmit: (this
: BlockFrostAPI
, transaction
: string
| Uint8Array
) => Promise
<string
> = txSubmit
▸ (this
, transaction
): Promise
<string
>
Submits a transaction to the network.
See
API docs for Transaction submit
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
transaction |
string | Uint8Array
|
Transaction bytes as Uint8Array or hex-encoded string |
Promise
<string
>
ID of the submitted transaction
• txs: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content"
]> = txs
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content"
]>
Obtains a specific transaction
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content"
]>
Transaction
• txsDelegations: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_delegations"
]> = txsDelegations
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_delegations"
]>
Obtains information about delegation certificates of a specific transaction.
See
API docs for Transaction stake addresses certificates
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_delegations"
]>
List of delegation certificates within the transaction
• txsMetadata: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_metadata"
]> = txsMetadata
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_metadata"
]>
Obtains transaction metadata in JSON format.
See
API docs for Transaction metadata
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_metadata"
]>
Transaction metadata in JSON
• txsMetadataCbor: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_metadata_cbor"
]> = txsMetadataCbor
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_metadata_cbor"
]>
Obtains transaction metadata in CBOR format.
See
API docs for Transaction metadata in CBOR
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_metadata_cbor"
]>
Transaction metadata in CBOR
• txsMirs: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_mirs"
]> = txsMirs
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_mirs"
]>
Obtains information about Move Instantaneous Rewards (MIRs) of a specific transaction.
See
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_mirs"
]>
List of Move Instantaneous Rewards (MIRs) within the transaction
• txsPoolRetires: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_pool_retires"
]> = txsPoolRetires
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_pool_retires"
]>
Obtains information about stake pool retirements within a specific transaction.
See
API docs for Transaction stake pool retirement certificates
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_pool_retires"
]>
List of stake pool retirement certificates
• txsPoolUpdates: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_pool_certs"
]> = txsPoolUpdates
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_pool_certs"
]>
Obtains information about stake pool registration and update certificates of a specific transaction.
See
API docs for Transaction stake pool registration and update certificates
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_pool_certs"
]>
List of stake pool registration and update certificates within a specific transaction
• txsRedeemers: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_redeemers"
]> = txsRedeemers
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_redeemers"
]>
Obtains transaction redeemers.
See
API docs for Transaction redeemers
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_redeemers"
]>
Transaction redeemers
• txsStakes: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_stake_addr"
]> = txsStakes
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_stake_addr"
]>
Obtains information about (de)registration of stake addresses within a transaction.
See
API docs for Transaction stake addresses certificates
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_stake_addr"
]>
List of (de)registration certificates within the transaction
• txsUtxos: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_utxo"
]> = txsUtxos
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_utxo"
]>
Obtains the inputs and outputs of the specific transaction.
See
API docs for Transaction UTXOs
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_utxo"
]>
Transaction inputs and outputs
• txsWithdrawals: (this
: BlockFrostAPI
, hash
: string
) => Promise
<components
["schemas"
]["tx_content_withdrawals"
]> = txsWithdrawals
▸ (this
, hash
): Promise
<components
["schemas"
]["tx_content_withdrawals"
]>
Obtains information about withdrawals within a specific transaction.
See
API docs for Transaction withdrawal
Name | Type | Description |
---|---|---|
this |
BlockFrostAPI |
- |
hash |
string |
Transaction hash |
Promise
<components
["schemas"
]["tx_content_withdrawals"
]>
List of withdrawals within the transaction