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

staker package

Function

GetUserDelegationIDs

func GetUserDelegationIDs(delegator address, delegatee address) []int64

GetUserDelegationIDs returns a list of delegation IDs for a specific delegator-delegatee pair. Parameters:

  • delegator: Address that supplied the delegation.
  • delegatee: Address receiving that delegation.

Returns:

  • []int64: delegation IDs for the delegator-delegatee pair; the returned slice is independent of realm state.

Params

Command

gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/staker.GetUserDelegationIDs(,)"

Result