createSwapAddress

메인넷 토큰(MT)을 사이드 토큰(ST)으로 전환할 때, 메인넷 토큰을 보유하고 있는 계정 주소(address, userAddress)에 1:1로 연결된 사이드 토큰 보유용 계정 주소(swapAddress)을 발급하기 위한 API입니다. 발급된 swapAddress로 메인넷 토큰을 전송(transfer)하면 페깅된 토큰간의 Swap이 이루어집니다.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Swap 전용 주소를 발급받기 위한 대상 계정의 주소. 이전에 이미 swapAddress를 발급한 이력이 있는 계정 주소에 대해 이 API를 다시 호출하는 경우 별도의 에러 응답 없이 이전에 생성된 swapAddress가 다시 반환됩니다.

Body Params
string
required

대상 메인넷 환경의 ID. 콘솔의 메인넷 Environment 상세 페이지 URL에 존재하는 19자리 숫자 형식의 값을 확인할 수 있습니다.

string
required

대상 사이드 체인 환경의 ID.

string
required

Swap을 수행할 대상 메인넷 토큰의 심볼.

string
required

Swap을 수행할 대상 사이드 토큰의 심볼.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json