go-wallet
  1. go-solana
go-wallet
  • go-solana
    • 转账接口
      POST
    • token转账
      POST
    • 部署token
      POST
    • 部署token通过cli
      POST
    • 查找交易通过hash
      GET
    • 通过地址查询交易
      POST
    • 2022token转账
      POST
  • simple-bank
    • 存取款接口
      POST
    • 转账
      POST
    • 获得账户信息
      GET
    • 获得tx的历史记录
      GET
    • 获得用户的所有账户
      GET
    • 创建账户
      POST
  • work
    • getPriceLive
      POST
    • 未命名接口
      GET
  • 未命名接口
    POST
  • 未命名接口
    POST
  1. go-solana

转账接口

开发中
POST
/api/v1/TransferFrom

请求参数

Body 参数application/json
from
string 
必需
to
string 
必需
amount
integer 
必需
tokenaddress
string 
必需
示例
{
    "from": "string",
    "to": "string",
    "amount": 0,
    "tokenaddress": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/TransferFrom' \
--header 'Content-Type: application/json' \
--data-raw '{
    "from": "string",
    "to": "string",
    "amount": 0,
    "tokenaddress": "string"
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-11-15 02:25:46
下一页
token转账
Built with