createArksatClient(provider)。
钱包接口
余额与资产
查询 BTC 余额、持有代币与资产元数据。
示例使用
示例
示例
返回
示例
返回
示例
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
查询 BTC 余额、持有代币与资产元数据。
createArksatClient(provider)。
Promise<ArksatBalance>
const balance = await client.getBalance()
Promise<ArksatAssetBalance[]>
const assets = await client.getAssets()
{ assetId: string }
Promise<ArksatAssetBalance | null>
const asset = await client.getAssetDetails({ assetId })
{ assetId: string }
Promise<ArksatAssetDetails>
const metadata = await client.getAssetMetadata({ assetId })