Skip to content

get transaction when the action is called for eoslime version 1.0.4 #80

@varshadqz

Description

@varshadqz

I want the transaction details eg. trxid when some smart contract action is called from eoslime. I tried:

it("Should add document", async () => {
                await contract.upsertdoc.getRawTransaction("doc2", "docfile", "docdescription", "uploadingfile", "170kb", "ppt", ["group1"], 0, "#1ddsfsh0");
                await contract.upsertdoc.getRawTransaction("doc3", "docfile", "docdescription", "uploadingfile", "170kb", "ppt", ["group1"], 0, "#1ddsfsh0");
        });

Using getRawTransaction it's not working.
How to get a transaction id when some action is called and the transaction is done?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions