本頁面使用機器翻譯自英語,可能包含錯誤或不清楚的語言。如需最準確的信息,請參閱英文原文。由於更新頻繁,部分內容可能與英文原文有出入。請加入我們在 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.