This page uses machine translation from English, which may contain errors or unclear language. For the most accurate information, please see the original English version. Some content may be in the original English due to frequent updates. Help us improve this page's translation by joining our effort on Crowdin. (Crowdin translation page, Contributing guide)
subbridge_registerToken
The subbridge_registerToken registers a pair of ERC-20 or 721 tokens with the bridge contracts.
JSONRPC: subbridge_registerToken
Request
- application/json
Body
Array [
]
params
undefined[]
required
ChildAccount 20-byte DATA
Address of bridge contract on child chain.
ParentAccount 20-byte DATA
Address of bridge contract on parent chain.
TokenChildAccount 20-byte DATA
Address of token contract on child chain.
TokenParentAccount 20-byte DATA
Address of token contract on parent chain.