Skip to main content

BasicOutputProtocol

BasicOutputProtocol Objects​

class BasicOutputProtocol(typing.Protocol)

A typed view of an on-chain 0x107a::basic_output::BasicOutput<IOTA> object.

balance​

def balance() -> int

IOTA balance held by the output, in nanos.

id​

def id() -> ObjectId

The object's ID.

native_tokens_bag_id​

def native_tokens_bag_id() -> ObjectId

Object ID of the Bag of native tokens. Use the GraphQL client to list dynamic fields if you need to enumerate the tokens.