Skip to content

Badge

One soulbound badge of one owner and kind.

Message Opcode Fields
InitBadge 0x4a254623 queryId: uint64, owner: address, kind: uint16, authority: address
ProveOwnership 0x04ded148 queryId: uint64, dest: address, forwardPayload: cell, withContent: bool
RequestOwner 0xd0c3bfea queryId: uint64, dest: address, forwardPayload: cell, withContent: bool
DestroyBadge 0x1f04537a queryId: uint64
RevokeBadge 0x6f89f5e3 queryId: uint64
RequestStaticData 0x2fcb26a2 queryId: uint64
AskToChangeOwnership 0x5fcc3d14 queryId: uint64, newOwnerAddress: address, sendExcessesTo: address?, customPayload: cell?, forwardTonAmount: coins, forwardPayload: RemainingBitsAndRefs
Message Opcode Fields
ReturnExcessesBack 0xd53276db queryId: uint64
OwnershipProof 0x0524c7ae queryId: uint64, itemId: uint256, owner: address, data: cell, revokedAt: uint64, content: cell?
OwnerInfo 0x0dd607e3 queryId: uint64, itemId: uint256, initiator: address, owner: address, data: cell, revokedAt: uint64, content: cell?
ResponseStaticData 0x8b771735 queryId: uint64, itemIndex: uint256, collectionAddress: address
Getter Parameters Returns
get_nft_data — BadgeNftData
get_authority_address — address?
get_revoked_time — int
get_code_version — CodeVersion

Opcode 0x4a254623.

Field Type
queryId uint64
owner address
kind uint16
authority address

Opcode 0x04ded148.

Field Type
queryId uint64
dest address
forwardPayload cell
withContent bool

Opcode 0xd0c3bfea.

Field Type
queryId uint64
dest address
forwardPayload cell
withContent bool

Opcode 0x1f04537a.

Field Type
queryId uint64

Opcode 0x6f89f5e3.

Field Type
queryId uint64

Opcode 0x2fcb26a2.

Field Type
queryId uint64

Opcode 0x5fcc3d14.

Field Type
queryId uint64
newOwnerAddress address
sendExcessesTo address?
customPayload cell?
forwardTonAmount coins
forwardPayload RemainingBitsAndRefs

Opcode 0xd53276db.

Field Type
queryId uint64

Opcode 0x0524c7ae.

Field Type
queryId uint64
itemId uint256
owner address
data cell
revokedAt uint64
content cell?

Opcode 0x0dd607e3.

Field Type
queryId uint64
itemId uint256
initiator address
owner address
data cell
revokedAt uint64
content cell?

Opcode 0x8b771735.

Field Type
queryId uint64
itemIndex uint256
collectionAddress address
Field Type
isInitialized bool
index uint256
collectionAddress address
ownerAddress address?
content cell
Field Type
major uint8
minor uint8
patch uint8