Dex
DEX - 스왑
입력 토큰, 출력 토큰, 수량 및 슬리피지를 포함한 스왑 파라미터
POST
DEX - 스왑
Documentation Index
Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
Use this file to discover all available pages before exploring further.
인증
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
경로 매개변수
지원되는 네트워크에 나열된 체인 이름
사용 가능한 옵션:
sol, bsc, eth 본문
application/json
거래의 DEX 식별자
사용 가능한 옵션:
jupiter, kyberswap, raydium, pumpfun, moonshot, candy, launchpad 예시:
"jupiter"
트랜잭션을 시작하는 지갑의 공개 키
Required string length:
8 - 64예시:
"oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7"
스왑 수량. 전액은 "auto", 비율은 "50%"와 같이 사용
예시:
"1000000000"
스왑 방향 모드
사용 가능한 옵션:
ExactIn, ExactOut 예시:
"ExactIn"
슬리피지 허용 비율
필수 범위:
0 <= x <= 100예시:
10
트랜잭션 처리 속도를 높이기 위한 우선 수수료 (SOL 단위)
예시:
"1000"
DEX 풀 주소
예시:
"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
입력 토큰 Mint 주소
출력 토큰 Mint 주소
응답
200 - application/json
DEX - 스왑

