Get All Sales
await contract.get_sales()
- "View" function
@param
: Receives the below object as argument
{
from_index: number | null,
limit: number | null
}
@return
:
[]Sale
await contract.get_sales()
@param
: Receives the below object as argument{
from_index: number | null,
limit: number | null
}
@return
:[]Sale