Skip to main content

Queries

asset

Type: Asset

Fetch an asset

Arguments

NameDescription
id
String!

assets

Type: AssetsConnection!

Fetch a page of assets.

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

incomingPayment

Type: IncomingPayment

Fetch an Open Payments incoming payment

Arguments

NameDescription
id
String!

outgoingPayment

Type: OutgoingPayment

Fetch an Open Payments outgoing payment

Arguments

NameDescription
id
String!

paymentPointer

Type: PaymentPointer

Fetch a payment pointer

Arguments

NameDescription
id
String!

peer

Type: Peer

Fetch a peer

Arguments

NameDescription
id
String!

peers

Type: PeersConnection!

Fetch a page of peers.

Arguments

NameDescription
after
String

Paginating forwards: the cursor before the the requested page.

before
String

Paginating backwards: the cursor after the the requested page.

first
Int

Paginating forwards: The first n elements from the page.

last
Int

Paginating backwards: The last n elements from the page.

quote

Type: Quote

Fetch an Open Payments quote

Arguments

NameDescription
id
String!