-
Notifications
You must be signed in to change notification settings - Fork 3
/
axfer.transaction.json
37 lines (37 loc) · 1.57 KB
/
axfer.transaction.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://algo-models.com/schemas/axfer.transaction.json",
"title": "Asset Transfer Transaction",
"type": "object",
"allOf": [
{ "$ref": "http://algo-models.com/schemas/transaction.header.json"},
{
"properties": {
"type": {
"type": "string",
"const": "axfer"
},
"xaid": {
"type": "integer",
"description": "The unique ID of the asset to be transferred."
},
"aamt": {
"type": "integer",
"description": "The amount of the asset to be transferred. A zero amount transferred to self allocates that asset in the account's Asset map."
},
"asnd": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The sender of the transfer. The regular sender field should be used and this one set to the zero value for regular transfers between accounts. If this value is nonzero, it indicates a clawback transaction where the sender is the asset's clawback address and the asset sender is the address from which the funds will be withdrawn."
},
"arcv": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "The recipient of the asset transfer."
},
"aclose": {
"$ref": "http://algo-models.com/schemas/bytes32.json",
"description": "Specify this field to remove the asset holding from the sender account and reduce the account's minimum balance (i.e. opt-out of the asset)."
}
},
"required": ["type", "xaid", "aamt", "arcv"]
}]
}