Skip to content

Commit

Permalink
add transferdomain constants to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-volz committed Nov 5, 2023
1 parent 28e2ff7 commit ce11e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions defichain/node/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ class BuildTransferDomainData:
:example:
>>> from defichain.node import BuildTransferDomainData
>>> from defichain.node import BuildTransferDomainData, DVM, EVM
>>>
>>> transferdomain_data = BuildTransferDomainData()
>>> transferdomain_data.add_transfer("dvm_address", "evm_address", "1@DFI", 2, 3)
>>> transferdomain_data.add_transfer("evm_address", "dvm_address", "1@DFI", 3, 2)
>>> transferdomain_data.add_transfer("dvm_address", "evm_address", "1@DFI", DVM, EVM)
>>> transferdomain_data.add_transfer("evm_address", "dvm_address", "1@DFI", EVM, DVM)
>>> transferdomain_data.build()
"""

Expand Down

0 comments on commit ce11e25

Please sign in to comment.