플랫폼 코인 전송
1. Request.sendCoin
이름
타입
설명
이름
타입
설명
이름
타입
설명
import { Request } from "favorlet.js";
const response = await Request.sendCoin({
chainId: 8217, // 해당 체인 id
appName: "BlockChainApp", // FAVORLET 앱에 노출
transactions: [
{
from: "0x{address in hex}", // 코인을 전송할 주소
to: "0x{address in hex}", // 코인을 받을 주소
value: "1000000000000000000", // 전송할 코인의 양
gasLimit: "100000"
},
],
});
console.log(response);
/*
{
requestId: "56ba790c-aceb-465b-a6f2-33d103b25596",
expiredAt: 1667891675
}
*/2. createDeepLink
타입
설명
타입
설명
3. receipt
Last updated