# 根据交易记录查询交易流水(for admin)

# 调用方式: GET

# 接口地址:

https://api.freelog.com/v2/transactions/admin/records/{recordId}/details
1

# url传入参数说明:

参数 必选 类型及范围 说明
recordId 必选 int 交易记录ID

# 返回说明:

返回值字段 字段类型 字段说明
serialNo string 流水号
transactionRecordId string 交易记录ID
accountId string 账户ID
accountName string 账户名称
accountType int 账户类型 (1:个人 2:合约 3:节点 4:组织或公司)
reciprocalAccountId string 对方账户ID
reciprocalAccountName string 对方账户名称
reciprocalAccountType int 对方账户类型 (1:个人 2:合约 3:节点 4:组织或公司)
transactionAmount string 交易金额
beforeBalance string 交易前账户金额
afterBalance string 交易后账户金额
transactionType int 交易类型 1:转账 2:合约交易
remark string 备注信息
digest string 摘要信息,交易说明
attachInfo object 附属信息,例如合约交易时的合约信息
status int 状态 1:交易确认中 2:交易成功 3:交易关闭
createDate date 创建日期
updateDate date 最后更新日期

# 返回示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": [{
		"serialNo": "301197784043761664",
		"transactionRecordId": "301197784031178752",
		"accountId": "233174871678021",
		"accountType": 1,
		"accountName": "snnaenu",
		"reciprocalAccountId": "233313992309230",
		"reciprocalAccountType": 1,
		"reciprocalAccountName": "Freelog",
		"transactionAmount": "-1.00",
		"beforeBalance": "147853.00",
		"afterBalance": "147852.00",
		"transactionType": 2,
		"digest": "展品-飞致开元-paytest12",
		"remark": "",
		"attachInfo": {
			"eventId": "50fe1a0b0053492eb05a304d21a417a8",
			"stateId": "624421ef6d4e4c002ecf3fc7",
			"contractId": "624421e36d4e4c002ecf3fb6",
			"subjectName": "飞致开元",
			"subjectType": 2,
			"contractName": "paytest12"
		},
		"createDate": "2022-03-30T09:25:03.368Z",
		"updateDate": "2022-03-30T09:25:03.000Z",
		"status": 2
	}, {
		"serialNo": "301197784333168640",
		"transactionRecordId": "301197784031178752",
		"accountId": "233313992309230",
		"accountType": 1,
		"accountName": "Freelog",
		"reciprocalAccountId": "233174871678021",
		"reciprocalAccountType": 1,
		"reciprocalAccountName": "snnaenu",
		"transactionAmount": "1.00",
		"beforeBalance": "2913.00",
		"afterBalance": "2914.00",
		"transactionType": 2,
		"digest": "展品-飞致开元-paytest12",
		"remark": "",
		"attachInfo": {
			"eventId": "50fe1a0b0053492eb05a304d21a417a8",
			"stateId": "624421ef6d4e4c002ecf3fc7",
			"contractId": "624421e36d4e4c002ecf3fb6",
			"subjectName": "飞致开元",
			"subjectType": 2,
			"contractName": "paytest12"
		},
		"createDate": "2022-03-30T09:25:03.436Z",
		"updateDate": "2022-03-30T09:25:03.436Z",
		"status": 2
	}]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59