query transactionForWalletById($walletId: WalletId!, $transactionId: ID!) { me { defaultAccount { id displayCurrency walletById(walletId: $walletId) { transactionById(transactionId: $transactionId) { __typename id status direction memo createdAt settlementAmount settlementFee settlementDisplayAmount settlementDisplayFee settlementDisplayCurrency settlementCurrency settlementPrice { base offset } initiationVia { __typename ... on InitiationViaIntraLedger { counterPartyWalletId counterPartyUsername } ... on InitiationViaLn { paymentHash paymentRequest } ... on InitiationViaOnChain { address } } settlementVia { __typename ... on SettlementViaIntraLedger { counterPartyWalletId counterPartyUsername } ... on SettlementViaLn { preImage } ... on SettlementViaOnChain { transactionHash } } } } } } }