> For the complete documentation index, see [llms.txt](https://bitlong.gitbook.io/api-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitlong.gitbook.io/api-doc/tapd-api/batchtransfer.md).

# BatchTransfer

### 1.获取自己的批量转账记录

```go
func GetBatchTransfers(token string) string
```

#### 参数

`token` <mark style="color:orange;">string</mark> 登录token

#### 响应

`asset_id` <mark style="color:orange;">string</mark> 资产ID

`txid` <mark style="color:orange;">string</mark> 交易ID

`total_amount` <mark style="color:orange;">int</mark> 总数量

`transfer_timestamp` <mark style="color:orange;">int</mark> 时间

`details` <mark style="color:orange;">struct/Object</mark> 详情

`encoded_addr` <mark style="color:orange;">string</mark> 资产地址(发票)

`amount` <mark style="color:orange;">int</mark> 数量

`index` <mark style="color:orange;">int</mark> 索引

```json
{"success":true,"error":"","code":200,"data":[{"asset_id":"01e5ca601897cf986be69ae45042934502973bb0d6bc72176fc7ffb1271185b7","txid":"b949262f041c885d73ded479e1789fc61e4489b8622664b5d74300b68922ecab","total_amount":85,"transfer_timestamp":1720681818,"details":[{"encoded_addr":"taprt1qqqsqqspqqzzqq09efsp3970np47dxhy2ppfx3gzjuamp44uwgtkl3llkyn3rpdhqcssy7hfzygzu7s799h5xwjya8ac4zyxa7lplhcumzf7nlrw2ey9gz5vpqss98jalqvrmr4y0dxh4pru6l9ghqc0pu4yspt8fgap6cpy7t8x9exfpgq42rppw4hxjan9wfek2unsvvaz7te3xvezuv3nxghrzvpe9curgw3cxs6rxjmdf6t","amount":85,"index":0}]},{"asset_id":"01e5ca601897cf986be69ae45042934502973bb0d6bc72176fc7ffb1271185b7","txid":"3c956eaaf7419fb05650f1d76292407dc94e16c1da40f68b08073604267f59c1","total_amount":100,"transfer_timestamp":1720678906,"details":[{"encoded_addr":"taprt1qqqsqqspqqzzqq09efsp3970np47dxhy2ppfx3gzjuamp44uwgtkl3llkyn3rpdhqcss96anqkqprd8atl9ch64drvzm2ednv4n2x3dqezup6nfn89eh9572pqss800faj04dtc3qxxdlp6xvqrkelj4asyfjntwtu3tn98ksuwjs0p7pgq4qrppw4hxjan9wfek2unsvvaz7te3xvezuv3nxghrzvpe9curgw3cxs6rxhhdjuc","amount":80,"index":0},{"encoded_addr":"taprt1qqqsqqspqqzzqq09efsp3970np47dxhy2ppfx3gzjuamp44uwgtkl3llkyn3rpdhqcss9645yrw0uga2usdrj9qqhrn3h776z7er883gp82c22fz34zx47vypqssy4nwru7apl5d6w6fy2g0chfdfmnh3nkz3gpeyv8a2l3cwrc0r3umpgq3grppw4hxjan9wfek2unsvvaz7te3xvezuv3nxghrzvpe9curgw3cxs6rxc3l5sz","amount":20,"index":1}]}]}
```

#### 原型

<figure><img src="https://2310256443-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fweq1cJZLcQnVnZdzvIH8%2Fuploads%2F5NXYDIdqzQWAnZPWGVIp%2Fprototype.jpg?alt=media&amp;token=6f7049a2-3d5e-49d5-903d-457a4974d903" alt=""><figcaption></figcaption></figure>
