Type Alias ReceiveResponse

ReceiveResponse: { token: Token; tokensWithErrors: Token | undefined }

Response when receiving a complete token.

Type declaration

  • token: Token

    Successfully received Cashu Token

  • tokensWithErrors: Token | undefined

    TokenEntries that had errors. No error will be thrown, but clients can choose to handle tokens with errors accordingly.