query pendingIncomingTransactionsByAddress($address: OnChainAddress!) {
  me {
    defaultAccount {
      displayCurrency
      wallets {
        __typename
        id
        walletCurrency
        pendingIncomingTransactionsByAddress(address: $address) {
          __typename
          id
          status
          direction
          memo
          createdAt
          settlementAmount
          settlementFee
          settlementDisplayAmount
          settlementDisplayFee
          settlementDisplayCurrency
          settlementCurrency
          settlementPrice {
            base
            offset
          }
          initiationVia {
            __typename
            ... on InitiationViaIntraLedger {
              counterPartyWalletId
              counterPartyUsername
            }
            ... on InitiationViaLn {
              paymentHash
            }
            ... on InitiationViaOnChain {
              address
            }
          }
          settlementVia {
            __typename
            ... on SettlementViaIntraLedger {
              counterPartyWalletId
              counterPartyUsername
            }
            ... on SettlementViaLn {
              preImage
            }
            ... on SettlementViaOnChain {
              transactionHash
            }
          }
        }
      }
    }
  }
}