For more information regarding the endpoints, please visit Helius's website: https://docs.helius.dev/.
Prefix:
Depending on the network type, the prefix can contain different values:
- Mainnet: No prefix is required. An example call through Direct API would be:
https://api.uniblock.dev/direct/v1/Helius/path/to/endpoint
. - Devnet: A prefix of
api-devnet
is required. An example call through Direct API would be:https://api.uniblock.dev/direct/v1/Helius/api-devnet/path/to/endpoint
Example:
curl --request POST \
--url https://api.uniblock.dev/direct/v1/Helius/v0/transactions \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'x-api-key: YOUR_UNIBLOCK_API_KEY' \
--data '{
"transactions": [
"4dGtoqMggda37hfdZyB7nxiZoS1gjQjzjQp1yhTFK2PEUeykzK4tSEH8gGrvgEFkUWqN2H5fuEyMc6ZB8pBQK1j",
"3rnKQHqsvUE9JiwWRtGKheptB7FeSLAs48N6Dg4qLgcdS3qUhRR7cJ4mSzH2EcErZTs6nu9b4vLV36hLV4vJ3Bwa"
]
}'
Supported Endpoints:
v0/transactions
v0/addresses/:address/transactions