index.getLastAccepted RPC Method
Parameters
encoding
String
Loading...
Returns
id
string
Loading...
bytes
string
Loading...
timestamp
string
Loading...
encoding
string
Loading...
index
string
Loading...
Request
1curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/index/X/tx \2--data-raw '{3"jsonrpc":"2.0",4"id" :1,5"method" :"index.getLastAccepted",6"params": {7"encoding":"hex"8}9}'
1curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/index/X/tx \2--data-raw '{3"jsonrpc":"2.0",4"id" :1,5"method" :"index.getLastAccepted",6"params": {7"encoding":"hex"8}9}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free