cURL
curl --request POST \ --url https://api.example.com/api/v1/staking/transactions/build \ --header 'Content-Type: application/json' \ --data ' { "productId": "base_usdc_nexfi_vault", "orderType": "subscribe", "walletAddress": "0xabc1230000000000000000000000000000000000", "amount": "1000" } '
{ "code": 0, "msg": "ok", "data": { "buildId": "build_20260511_0001", "chainId": 8453, "to": "0xvault000000000000000000000000000000000001", "value": "0", "data": "0xb6b55f25", "gasLimit": "280000", "warnings": [ "APY is estimated and not guaranteed" ], "sharesPreview": "998.12", "feePreview": "1.50", "vaultAddress": "0xvault000000000000000000000000000000000001" } }
为本地钱包签名构建质押申购或赎回交易参数。
Documentation IndexFetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt
Use this file to discover all available pages before exploring further.
质押交易构建请求。
产品 ID。
"base_usdc_nexfi_vault"
订单类型。
subscribe
redeem
"subscribe"
钱包地址。
"0xabc1230000000000000000000000000000000000"
申购或赎回金额。
"1000"
成功返回交易构建结果
统一响应包裹结构。
业务状态码,0 表示成功。
0
可读返回消息。
"ok"
钱包本地签名所需的交易载荷。
Show child attributes