Available Endpoints
Get All Blocks
Retrieve all blocks from the Sei network with pagination.
Endpoint: /blocks
Method: GET
Query Parameters:
limit
(optional): Number of blocks per page (default: 100, max: 1000)page
(optional): Page number (default: 1)
Get Blocks by Range
Retrieve Sei blocks within a specified block number range.
Endpoint: /blocks/:startBlock/:endBlock
Method: GET
URL Parameters:
startBlock
: The starting block numberendBlock
: The ending block number
Query Parameters:
limit
(optional): Number of blocks per page (default: 100, max: 1000)page
(optional): Page number (default: 1)
Get Block by Number or Hash
Retrieve a specific Sei block by its block number or hash.
Endpoint: /block/:blockId
Method: GET
URL Parameters:
blockId
: Block number or hash to retrieve
Get All Transactions
Retrieve all transactions from the Sei network, including their associated logs.
Endpoint: /transactions
Method: GET
Query Parameters:
limit
(optional): Number of transactions per page (default: 100, max: 1000)page
(optional): Page number (default: 1)
Get Transactions by Block, Address, or Data Prefix
Retrieve transactions by block number, block hash, address, or data prefix.
Endpoint: /transactions/:id
Method: GET
URL Parameters:
id
: Block number, block hash, address, or data prefix
Query Parameters:
limit
(optional): Number of transactions per page (default: 100, max: 1000)page
(optional): Page number (default: 1)
Get Transaction by Hash
Retrieve a specific Sei transaction by its hash.
Endpoint: /transaction/:txHash
Method: GET
URL Parameters:
txHash
: The hash of the transaction to retrieve
Get Logs by Transaction Hash, Address, or Topic
Retrieve logs associated with a specific transaction hash, address, or topic.
Endpoint: /logs/:id
Method: GET
URL Parameters:
id
: Transaction hash, address, or topic
Query Parameters:
limit
(optional): Number of logs per page (default: 100, max: 1000)page
(optional): Page number (default: 1)
Get Contract Creations
Retrieve contract creation transactions.
Endpoint: /contracts
Method: GET
Query Parameters:
limit
(optional): Number of creations per page (default: 100, max: 1000)page
(optional): Page number (default: 1)
Get Contract Creator
Retrieve the creator of a contract.
Endpoint: /contract/creator/:contractAddress
Method: GET
URL Parameters:
contractAddress
: Address of the contract to get the creator for
Get Contract Creation Transaction
Retrieve the creation transaction of a contract.
Endpoint: /contract/creation/:contractAddress
Method: GET
URL Parameters:
contractAddress
: Address of the contract to get the creation transaction for
Get Mercury Status
Retrieve the current status of Mercury.
Endpoint: /status
Method: GET
Last updated