🏁findDataUpperThanValue

You can use this command to find data which has been saved block network.

const result = await Transaction.findDataUpperThanValue(<from:Base58>, <to:Base58>, <key:string>,<value:float|integer>, <skip:integer>, <limit:integer>)

From: Sender Address

To: Receipt Address

Key: Get data by key property ,

Value: Get data by value propert, must be float or integer

Skip : Skip Relevant data records

Limit: Set limitation of records

Sample:

const result = await Transaction.findDataUpperThanValue(<from:Base58>, <to:Base58>, <key:string>,<value:float|integer>, <skip:integer>, <limit:integer>)

Response:

[
    {
        "myKey":"Thats my value!"
    }
]

Last updated