Skip to content
CCPEDIAby Unity Nodes
App Development

Transaction view results

2 posts132 viewsLast activity Dec 2022

  1. kanika_kapoorOP

    On running sample code present in the documentation:

    got below result:

    Transactions:
    TX 0 1970-01-01T00:00:00Z (ReferTemplate:22:3)
    #0:0
    │ disclosed to (since): ‘Bob’ (0)
    └─> create ReferTemplate:CashBalance
    with
    accountant = ‘Bob’;
    currency = “USD”;
    amount = 100.0000000000;
    owner = ‘Alice’;
    account_number = “ABC123”;
    bank = ‘Bank of Bob’;
    bank_address = “High Street”;
    bank_telephone = “012 3456 789”

    Active contracts: #0:0

    Return value: #0:0

    Want to understand what is Active contracts and Return value , and what value they are holding.

  2. Gary_Verhaegen

    “Active contracts” is the set of contracts that have been created but not archived.

    “Return value” is the return value of the script. It’s hard to be more precise without seeing your code, but it’s pretty common for a Script to return the ContractId of the contract it created, which seems to be the case here.