Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

launchpad package

Function

GetDepositCreatedAt

func GetDepositCreatedAt(depositId string) (int64, error)

GetDepositCreatedAt returns the created time of a deposit by its ID.

Parameters:

  • depositId: unique identifier of the deposit to inspect.

Returns:

  • createdAt: deposit creation Unix timestamp in seconds.
  • err: non-nil when depositId does not identify a stored deposit.

Param

Command

gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/launchpad.GetDepositCreatedAt()"

Result