Skip to main content

sei_getCosmosTx RPC Method

Returns a Cosmos transaction hash given a EVM transaction hash.

Updated on
May 20, 2024

sei_getCosmosTx RPC Method

Parameters

hash
string
REQUIRED
An EVM transaction hash

Returns

hash
string
A Cosmos transaction hash
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "sei_getCosmosTx",
5
"params": ["0x9271e0f01bac5a9c1e54524fdc0b5acf1d1c2486b094d4aa562fc6dcb5696489"],
6
"id": 1,
7
"jsonrpc": "2.0"
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free