[
{
"authorized_account": "<AccountAddress>",
"from": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
},
"to": [
{
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
]
}
]
None
{
"Enum": [
{
"ItemCreated": [
{
"initial_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
},
"item_id": "<String with lowercase hex>",
"metadata_url": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
}
}
]
},
{
"ItemStatusChanged": [
{
"additional_data": {
"bytes": [
"<UInt8>"
]
},
"item_id": "<String with lowercase hex>",
"new_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
]
},
{
"GrantRole": [
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
}
]
}
}
]
},
{
"RevokeRole": [
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
}
]
}
}
]
},
{
"Nonce": [
{
"account": "<AccountAddress>",
"nonce": "<UInt64>"
}
]
}
]
}
None
None
"<String with lowercase hex>"
{
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
}
None
[
{
"Enum": [
{
"Admin": []
}
]
}
]
"<String with lowercase hex>"
None
{
"metadata_url": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
},
"status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"hash": {
"Enum": [
{
"None": []
},
{
"Some": [
"<String of size 64 containing lowercase hex characters.>"
]
}
]
},
"url": "<String>"
}
]
}
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
None
{
"additional_data": {
"bytes": [
"<UInt8>"
]
},
"item_id": "<String with lowercase hex>",
"new_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
None
{
"address": "<AccountAddress>",
"from_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
},
"to_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
},
"update": {
"Enum": [
{
"Remove": []
},
{
"Add": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
None
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
None
{
"message": {
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"entry_point": "<String>",
"nonce": "<UInt64>",
"payload": [
"<UInt8>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
},
"signature": [
[
"<UInt8>",
[
[
"<UInt8>",
{
"Enum": [
{
"Ed25519": [
"<String of size 128 containing lowercase hex characters.>"
]
}
]
}
]
]
]
],
"signer": "<AccountAddress>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
None
{
"message": {
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"entry_point": "<String>",
"nonce": "<UInt64>",
"payload": [
"<UInt8>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
},
"signature": [
[
"<UInt8>",
[
[
"<UInt8>",
{
"Enum": [
{
"Ed25519": [
"<String of size 128 containing lowercase hex characters.>"
]
}
]
}
]
]
]
],
"signer": "<AccountAddress>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
[
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
[
"<String>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
[
{
"Enum": [
{
"NoSupport": []
},
{
"Support": []
},
{
"SupportBy": [
[
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
]
}
]
}
]
{
"queries": [
"<String>"
]
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
[
{
"Enum": [
{
"NoSupport": []
},
{
"Support": []
},
{
"SupportBy": [
[
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
]
}
]
}
]
{
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"entry_point": "<String>",
"nonce": "<UInt64>",
"payload": [
"<UInt8>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
None
None
[
"<AccountAddress>"
]
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
[
"<UInt64>"
]
{
"address": {
"Enum": [
{
"Account": [
"<AccountAddress>"
]
},
{
"Contract": [
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
}
]
},
"role": {
"Enum": [
{
"Admin": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
"<Bool>"
{
"account": "<AccountAddress>",
"from_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
},
"to_status": {
"Enum": [
{
"Produced": []
},
{
"InTransit": []
},
{
"InStore": []
},
{
"Sold": []
}
]
}
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"Unauthorized": []
},
{
"ItemAlreadyExists": []
},
{
"ItemDoesNotExist": []
},
{
"FinalState": []
},
{
"NoContract": []
},
{
"MissingAccount": []
},
{
"MalformedData": []
},
{
"WrongSignature": []
},
{
"NonceMismatch": []
},
{
"WrongContract": []
},
{
"WrongEntryPoint": []
},
{
"Expired": []
},
{
"Unsuccessful": []
}
]
}
"<Bool>"