Class: BSV::KVStore::Token

Inherits:
Data
  • Object
show all
Defined in:
lib/bsv/kv_store/token.rb

Overview

Transaction output reference for a KVStore token.

Populated when include_token: true is passed to Global#get.

Instance Attribute Summary collapse

Instance Attribute Details

#beefObject (readonly)

Returns the value of attribute beef

Returns:

  • (Object)

    the current value of beef



8
9
10
# File 'lib/bsv/kv_store/token.rb', line 8

def beef
  @beef
end

#dtxidObject (readonly)

Returns the value of attribute dtxid

Returns:

  • (Object)

    the current value of dtxid



8
9
10
# File 'lib/bsv/kv_store/token.rb', line 8

def dtxid
  @dtxid
end

#output_indexObject (readonly)

Returns the value of attribute output_index

Returns:

  • (Object)

    the current value of output_index



8
9
10
# File 'lib/bsv/kv_store/token.rb', line 8

def output_index
  @output_index
end

#satoshisObject (readonly)

Returns the value of attribute satoshis

Returns:

  • (Object)

    the current value of satoshis



8
9
10
# File 'lib/bsv/kv_store/token.rb', line 8

def satoshis
  @satoshis
end