You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b2d53c7
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -734,9 +735,6 @@ To enable additional legacy methods, add them to this array. All other `sei_*` a
734
735
735
736
| Method | Description |
736
737
| ------ | ----------- |
737
-
|`sei_associate`| Associate Sei and EVM addresses |
738
-
|`sei_getSeiAddress`| Get Sei address for an EVM address |
739
-
|`sei_getEVMAddress`| Get EVM address for a Sei address |
740
738
|`sei_getCosmosTx`| Get Cosmos transaction by EVM tx hash |
741
739
|`sei_getEvmTx`| Get EVM transaction by Cosmos tx hash |
742
740
|`sei_getTransactionErrorByHash`| Get error message for a failed transaction |
@@ -777,99 +775,59 @@ To enable additional legacy methods, add them to this array. All other `sei_*` a
777
775
778
776
</Accordion>
779
777
780
-
### Address & Cross-VM Helpers
778
+
### Address Resolution
781
779
782
-
These endpoints provide cross-VM address resolution and transaction lookup between the EVM and Cosmos environments. `sei_getSeiAddress`, `sei_getEVMAddress`, and `sei_getCosmosTx` are enabled by default.
780
+
For resolving the EVM (`0x…`) ↔ Sei (`sei1…`) address pair, use the **`addr` precompile at `0x0000000000000000000000000000000000001004`** via a standard `eth_call`. The precompile is universally available on every Sei RPC, is not part of the deprecated `sei_*` namespace, and is the canonical resolution path going forward.
The call reverts when the input address is not yet associated. See [Accounts](/learn/accounts) for the full association lifecycle and how the bidirectional mapping is established.
859
823
860
-
**Example Request**
824
+
<Note>The legacy JSON-RPC helpers `sei_getSeiAddress` and `sei_getEVMAddress` historically served this role and are still enabled by default on nodes today, but they belong to the deprecated `sei_*` namespace and may be removed in a future release. New integrations should call the precompile.</Note>
861
825
862
-
```json
863
-
{
864
-
"jsonrpc": "2.0",
865
-
"method": "sei_getEVMAddress",
866
-
"params": ["sei1..."],
867
-
"id": 1
868
-
}
869
-
```
826
+
### Cross-VM Transaction Lookup
870
827
871
-
---
828
+
`sei_getCosmosTx` resolves the underlying Cosmos transaction hash for a given EVM transaction. It does not yet have a precompile equivalent and is enabled by default on Sei nodes.
872
829
830
+
<Accordiontitle="View Cross-VM Lookup Endpoints">
873
831
#### sei_getCosmosTx
874
832
875
833
Returns the Cosmos transaction details for a given EVM transaction hash.
0 commit comments