# 查询交易记录详情

# 调用方式: GET

# 接口地址:

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

# url传入参数说明:

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

# 返回说明:

返回值字段 字段类型 字段说明
recordId 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 交易金额
transactionType int 交易类型 1:转账 2:合约交易
remark string 备注信息
operatorId string 操作者ID
operatorName string 操作者姓名
authorizationType string 交易授权方式,例如密码,私钥签名
digest string 摘要信息,交易说明
attachInfo object 附属信息,例如合约交易时的合约信息
status int 状态 1:交易确认中 2:交易成功 3:交易关闭
createDate date 创建日期
updateDate date 最后更新日期

# 返回示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": {
		"recordId": "182608021493911552",
		"accountId": "508157330133474",
		"accountType": 4,
		"accountName": "test-freelog",
		"reciprocalAccountId": "233175141394829",
		"reciprocalAccountType": 1,
		"reciprocalAccountName": "12345676789",
		"transactionAmount": "-100.00",
		"transactionType": 1,
		"digest": "",
		"attachInfo": {},
		"remark": "111",
		"operatorId": "1",
		"operatorName": "test-freelog",
		"authorizationType": "privateKey",
		"createDate": "2021-05-07T03:31:40.684Z",
		"updateDate": "2021-05-07T03:31:40.684Z",
		"confirmTimeoutDate": "2021-05-09T03:31:41.000Z",
		"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