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

launchpad package

Function

GetDepositWithdrawnHeight

func GetDepositWithdrawnHeight(depositId string) (int64, error)
Ask AI Claude ChatGPT

GetDepositWithdrawnHeight returns the withdrawn height of a deposit by its ID.

Parameters:

  • depositId: unique identifier of the deposit to inspect.

Returns:

  • height: withdrawal block height; zero when the deposit has not been withdrawn.
  • err: non-nil when depositId does not identify a stored deposit.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/gnoswap/launchpad.GetDepositWithdrawnHeight()"

Result