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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

cust0dy package

Overview

Package cust0dy is the Cust0dy marketplace realm: a peer-to-peer order book and automated escrow engine for Web2 domains, social handles and Gno handles. Coins lock in this realm at purchase time and move only on settlement, refund, or arbiter resolution.

Honesty note: the assets themselves move off-chain (a registrar push, a password handover). The realm holds the payment, records verification attestations, and gives both sides a referee (the arbiter) when they disagree. It cannot force the off-chain transfer itself.

Functions

AcceptOffer

func AcceptOffer(cur realm, offerID int) int
Ask AI Claude ChatGPT

AcceptOffer lets the seller accept an open offer. The offer's locked coins become the escrow; the buyer fee is waived (offers are all-in) and only the 5% seller fee applies at settlement. Returns the escrow id.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "AcceptOffer" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "AcceptOffer" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

AccruedFees

func AccruedFees() int64
Ask AI Claude ChatGPT

AccruedFees returns the total platform fees collected, in ugnot.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.AccruedFees()"

Result

AttestVerified

func AttestVerified(cur realm, id int)
Ask AI Claude ChatGPT

AttestVerified marks a listing as ownership-verified. Only the arbiter (or admin) may attest, and only after an off-chain check, for example with verifier/dns_verify.py. The attestation is public and on the record.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "AttestVerified" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "AttestVerified" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

Buy

func Buy(cur realm, listingID int) int
Ask AI Claude ChatGPT

Buy purchases a listing at full price. The buyer must attach exactly BuyerTotal(price) ugnot (price + 2.5% buyer fee). The coins lock in this realm until settlement. Returns the escrow id.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "Buy" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "Buy" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

CancelListing

func CancelListing(cur realm, id int)
Ask AI Claude ChatGPT

CancelListing withdraws an open listing. Seller only, and only while no live escrow holds it.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "CancelListing" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "CancelListing" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

CancelOffer

func CancelOffer(cur realm, offerID int)
Ask AI Claude ChatGPT

CancelOffer withdraws an open offer and refunds the maker in full.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "CancelOffer" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "CancelOffer" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

ClaimAdmin

func ClaimAdmin(cur realm)
Ask AI Claude ChatGPT

ClaimAdmin makes the caller the marketplace operator, once. The deployer calls this right after deployment; afterwards it panics for everyone. The first admin also becomes the first arbiter.

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ClaimAdmin" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ClaimAdmin" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

ClaimTimeoutRefund

func ClaimTimeoutRefund(cur realm, escrowID int)
Ask AI Claude ChatGPT

ClaimTimeoutRefund returns the full locked amount to the buyer after RefundWindow has passed without the seller submitting a transfer.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ClaimTimeoutRefund" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ClaimTimeoutRefund" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

ConfirmReceived

func ConfirmReceived(cur realm, escrowID int)
Ask AI Claude ChatGPT

ConfirmReceived settles the trade: the seller is paid the agreed price minus the 5% seller fee; the remainder of the locked coins is platform fee. Buyer only. Never confirm before the asset is actually in your control: confirming is final.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ConfirmReceived" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ConfirmReceived" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

EscrowCount

func EscrowCount() int
Ask AI Claude ChatGPT

EscrowCount returns the number of escrows ever created.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.EscrowCount()"

Result

List

func List(cur realm, kindStr, value string, priceUgnot int64) int
Ask AI Claude ChatGPT

List creates a sell order for a domain, social handle or Gno handle. The asset is not verified yet; see VerificationCode and AttestVerified.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "List" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "List" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

ListingCount

func ListingCount() int
Ask AI Claude ChatGPT

ListingCount returns the number of listings ever created.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.ListingCount()"

Result

MakeOffer

func MakeOffer(cur realm, listingID int) int
Ask AI Claude ChatGPT

MakeOffer locks coins as a buy-side offer on a listing. Offers are all-in: no extra buyer fee is charged if the seller accepts. Attach the offered amount as ugnot. Returns the offer id.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "MakeOffer" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "MakeOffer" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

MarkTransferSubmitted

func MarkTransferSubmitted(cur realm, escrowID int)
Ask AI Claude ChatGPT

MarkTransferSubmitted records that the seller has started the off-chain handover (registrar push, credential handover, ...). This stops the buyer's automatic refund window; from here the exits are buyer confirmation or a dispute.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "MarkTransferSubmitted" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "MarkTransferSubmitted" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

OpenDispute

func OpenDispute(cur realm, escrowID int, reason string)
Ask AI Claude ChatGPT

OpenDispute freezes a live trade for the arbiter. Either party may open one; the reason is stored on-chain.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "OpenDispute" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "OpenDispute" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render is the gnoweb entry point. Routes: "" order book, "l/<id>" listing, "e/<id>" deal room, "u/<addr>" profile.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.Render()"

Result

ResolveDispute

func ResolveDispute(cur realm, escrowID int, paySeller bool)
Ask AI Claude ChatGPT

ResolveDispute settles a disputed trade by arbiter decision: paySeller true pays the seller as on completion; false refunds the buyer in full. Every resolution is public on the record.

Params

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ResolveDispute" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "ResolveDispute" -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

SetArbiter

func SetArbiter(cur realm, a address)
Ask AI Claude ChatGPT

SetArbiter changes the dispute referee. Admin only.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "SetArbiter" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "SetArbiter" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

VerificationCode

func VerificationCode(id int) string
Ask AI Claude ChatGPT

VerificationCode is the string the seller must publish off-chain to prove control of the asset: a DNS TXT record for a domain, a bio/post code for a social or Gno handle. It binds the listing id and the seller address, so a code cannot be reused for someone else's listing.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.VerificationCode()"

Result

WithdrawFees

func WithdrawFees(cur realm)
Ask AI Claude ChatGPT

WithdrawFees sends accrued platform fees to the admin. Admin only.

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "WithdrawFees" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "onyx-1" -remote "https://rpc.onyx.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.onyx.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy" -func "WithdrawFees" -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "onyx-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.onyx.testnets.gno.land" call.tx
  

GetEscrow

func GetEscrow(id int) Escrow
Ask AI Claude ChatGPT

GetEscrow returns one escrow by id.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.GetEscrow()"

Result

GetListing

func GetListing(id int) Listing
Ask AI Claude ChatGPT

GetListing returns one listing by id.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy.GetListing()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1ejwp09wwnu6psem2sdwrh7l7xcldqm6zz3vu2v/cust0dy, for example a function call with arguments.