API List - abtsdollar/ABTS-LAB GitHub Wiki
Basic
GET /ping --S-Wallet Healcheck 용
GET /api/v1/wallets --Wallet 의 목록 리턴
GET /api/v1/wallet_list --Wallet 의 목록 리턴(paging)
POST /api/v1/wallets/create --신규 Wallet 생성
POST /api/v1/wallets/create_safe --신규 Wallet 생성 및 확인
POST /api/v1/wallets/create_safe_welcome --신규 Wallet 생성 및 SYM 코인 지급
GET /api/v1/wallets/ --특정 Wallet 조회
PUT /api/v1/wallets --특정 symid 상태 변경
GET /api/v1/sym/block_number –-block number 조회
GET /api/v1/sym/balance/ --특정 symid 의 SYM 코인 잔액 조회
POST /api/v1/sym/send --SYM 코인 송금
POST /api/v1/sym/send_safe --SYM 코인 송금 및 확인
GET /api/v1/sct/contracts --생성된 SCT 목록 조회
GET /api/v1/sct/contract --특정 SCT 조회
GET /api/v1/sct/balance --특정 symid 의 토큰 잔액 조회
POST /api/v1/sct20/create --신규 SCT20 생성
POST /api/v1/sct20/run/{method} --SCT20 method 실행
POST /api/v1/sct20/run_safe/{method} --SCT20 method 실행 및 확인
POST /api/v1/sct21/create --신규 SCT21 생성
POST /api/v1/sct21/run/{method} --SCT21 method 실행
POST /api/v1/sct21/run_safe/{method} --SCT21 method 실행 및 확인
Ethereum
GET /api/v1/eth/block_number –-block number 조회
GET /api/v1/eth/balance --특정 address 의 ETH 잒액 조회
POST /api/v1/eth/send --ETH 송금
GET /api/v1/eth/transactions --특정 address 의 transactions 조회
GET /api/v1/eth/transaction –-tx_hash 로 transaction 조회
GET /api/v1/eth/receipt/status –-tx_hash 로 receipt.status 조회
Swap
GET /api/v1/swap/masters –-swap manster 조회
GET /api/v1/swap/master –-swap manster 특정 idx 조회
POST /api/v1/swap/master –-swap manster 생성
PUT /api/v1/swap/master –-swap manster 수정
DEL /api/v1/swap/master –-swap manster 특정 idx 삭제
GET /api/v1/swap/histories –-swap history 전체 조회
GET /api/v1/swap/history –-swap history 조회
Account
POST /api/v1/account–-신규 symid 발급
GET /api/v1/account –-symid 조회