/v1/blocks/by_version/{version} REST API Endpoint
Path Parameters
version
integer
REQUIRED
Loading...
Query Parameters
with_transactions
boolean
Loading...
Returns
block_height
Loading...
block_hash
Loading...
block_timestamp
Loading...
first_version
Loading...
last_version
Loading...
transactions
Loading...
type
Loading...
hash
Loading...
sender
Loading...
sequence_number
Loading...
max_gas_amount
Loading...
gas_unit_price
Loading...
expiration_timestamp_secs
Loading...
payload
Loading...
type
Loading...
function
Loading...
type_arguments
Loading...
arguments
Loading...
signature
Loading...
type
Loading...
public_key
Loading...
signature
Loading...
Request
1curl -X 'GET' 'https://docs-demo.aptos-mainnet.quiknode.pro/v1/blocks/by_version/3?with_transactions=true' \2-H 'Content-Type: application/json'
1curl -X 'GET' 'https://docs-demo.aptos-mainnet.quiknode.pro/v1/blocks/by_version/3?with_transactions=true' \2-H 'Content-Type: application/json'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free