Constants

The following constants are available globally.

  • Declaration

    Objective-C

    extern double ZumoKitVersionNumber

    Swift

    var ZumoKitVersionNumber: Double
  • Declaration

    Objective-C

    extern const unsigned char ZumoKitVersionString[]
  • Corresponds to standard Ethereum account type and Bitcoin non-segwit account type P2PKH.

    Standard Bitcoin addresses always begin with 1 on Bitcoin Mainnet and m or n on Bitcoin Testnet.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKAccountTypeSTANDARD

    Swift

    let ZKAccountTypeSTANDARD: String
  • Corresponds to compatibilty Bitcoin account P2WPKH-nested-in-P2SH.

    These addresses always begin with 3 on Bitcoin Mainnet and 2 on Bitcoin Testnet.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKAccountTypeCOMPATIBILITY

    Swift

    let ZKAccountTypeCOMPATIBILITY: String
  • Corresponds to Segregated Witness Bitcoin account type P2WPKH and are also reffered to as bech32 addresses.

    These addresses always begin with bc1 on Bitcoin Mainnet and tb1 on Bitcoin Testnet.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKAccountTypeSEGWIT

    Swift

    let ZKAccountTypeSEGWIT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusCREATED

    Swift

    let ZKCardStatusCREATED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusACTIVE

    Swift

    let ZKCardStatusACTIVE: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusBLOCKED

    Swift

    let ZKCardStatusBLOCKED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusSUSPENDED

    Swift

    let ZKCardStatusSUSPENDED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusFROZEN

    Swift

    let ZKCardStatusFROZEN: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusEXPIRED

    Swift

    let ZKCardStatusEXPIRED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardStatusCANCELLED

    Swift

    let ZKCardStatusCANCELLED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardTypeVIRTUAL

    Swift

    let ZKCardTypeVIRTUAL: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCardTypePHYSICAL

    Swift

    let ZKCardTypePHYSICAL: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeGBP

    Swift

    let ZKCurrencyCodeGBP: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeEUR

    Swift

    let ZKCurrencyCodeEUR: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeUSD

    Swift

    let ZKCurrencyCodeUSD: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeETH

    Swift

    let ZKCurrencyCodeETH: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeBTC

    Swift

    let ZKCurrencyCodeBTC: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyCodeBSV

    Swift

    let ZKCurrencyCodeBSV: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyTypeFIAT

    Swift

    let ZKCurrencyTypeFIAT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCurrencyTypeCRYPTO

    Swift

    let ZKCurrencyTypeCRYPTO: String
  • Custody order has been created and is awaiting command to be executed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKCustodyOrderStatusNEW

    Swift

    let ZKCustodyOrderStatusNEW: String
  • Custody order has been submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKCustodyOrderStatusPENDING

    Swift

    let ZKCustodyOrderStatusPENDING: String
  • Custody order was confirmed and added to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKCustodyOrderStatusCONFIRMED

    Swift

    let ZKCustodyOrderStatusCONFIRMED: String
  • Custody order failed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKCustodyOrderStatusFAILED

    Swift

    let ZKCustodyOrderStatusFAILED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCustodyOrderTypeDEPOSIT

    Swift

    let ZKCustodyOrderTypeDEPOSIT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKCustodyOrderTypeWITHDRAW

    Swift

    let ZKCustodyOrderTypeWITHDRAW: String
  • Funds on custody accounts are managed by Zumo. User does not need to unlock wallet to manage his funds.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKCustodyTypeCUSTODY

    Swift

    let ZKCustodyTypeCUSTODY: String
  • Funds on non-custody accounts are managed by the end user. User needs to unlock wallet to manage his funds.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKCustodyTypeNONCUSTODY

    Swift

    let ZKCustodyTypeNONCUSTODY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKExchangeSideBUY

    Swift

    let ZKExchangeSideBUY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKExchangeSideSELL

    Swift

    let ZKExchangeSideSELL: String
  • Outgoing transaction has been submitted.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusPENDING

    Swift

    let ZKExchangeStatusPENDING: String
  • Outgoing transaction has been mined and return transaction has been initiated.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusWITHDRAWING

    Swift

    let ZKExchangeStatusWITHDRAWING: String
  • Exchange was confirmed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusCONFIRMED

    Swift

    let ZKExchangeStatusCONFIRMED: String
  • Exchange has failed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKExchangeStatusFAILED

    Swift

    let ZKExchangeStatusFAILED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeMAINNET

    Swift

    let ZKNetworkTypeMAINNET: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeTESTNET

    Swift

    let ZKNetworkTypeTESTNET: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeROPSTEN

    Swift

    let ZKNetworkTypeROPSTEN: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeRINKEBY

    Swift

    let ZKNetworkTypeRINKEBY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeGOERLI

    Swift

    let ZKNetworkTypeGOERLI: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKNetworkTypeKOVAN

    Swift

    let ZKNetworkTypeKOVAN: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalHOUR

    Swift

    let ZKTimeIntervalHOUR: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalDAY

    Swift

    let ZKTimeIntervalDAY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalWEEK

    Swift

    let ZKTimeIntervalWEEK: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalMONTH

    Swift

    let ZKTimeIntervalMONTH: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalQUARTER

    Swift

    let ZKTimeIntervalQUARTER: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalYEAR

    Swift

    let ZKTimeIntervalYEAR: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTimeIntervalMAX

    Swift

    let ZKTimeIntervalMAX: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionDirectionSENT

    Swift

    let ZKTransactionDirectionSENT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionDirectionRECEIVED

    Swift

    let ZKTransactionDirectionRECEIVED: String
  • Transaction has been paused by Transaction Service before being submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusPAUSED

    Swift

    let ZKTransactionStatusPAUSED: String
  • Transaction has been rejected by Transaction Service before being submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusREJECTED

    Swift

    let ZKTransactionStatusREJECTED: String
  • Transaction has been submitted to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusPENDING

    Swift

    let ZKTransactionStatusPENDING: String
  • Transacion was confirmed and added to blockchain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusCONFIRMED

    Swift

    let ZKTransactionStatusCONFIRMED: String
  • Transaction failed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusFAILED

    Swift

    let ZKTransactionStatusFAILED: String
  • Ethereum transaction was overriden by sending the same transaction with higher gas price.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusRESUBMITTED

    Swift

    let ZKTransactionStatusRESUBMITTED: String
  • Ethereum transaction was overriden by a different transaction with higher gas price than the previously submitted transaction and with with the same nonce as that previously submitted transaction.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusCANCELLED

    Swift

    let ZKTransactionStatusCANCELLED: String
  • Card transaction was authorised.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusAUTHORISED

    Swift

    let ZKTransactionStatusAUTHORISED: String
  • Card transaction was reversed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusREVERSED

    Swift

    let ZKTransactionStatusREVERSED: String
  • Transaction was refunded.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKTransactionStatusREFUNDED

    Swift

    let ZKTransactionStatusREFUNDED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeCUSTODY

    Swift

    let ZKTransactionTypeCUSTODY: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeCUSTODYDEPOSIT

    Swift

    let ZKTransactionTypeCUSTODYDEPOSIT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeCUSTODYWITHDRAW

    Swift

    let ZKTransactionTypeCUSTODYWITHDRAW: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeCRYPTO

    Swift

    let ZKTransactionTypeCRYPTO: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeFIAT

    Swift

    let ZKTransactionTypeFIAT: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeNOMINATED

    Swift

    let ZKTransactionTypeNOMINATED: String
  • Declaration

    Objective-C

    extern NSString * __nonnull const ZKTransactionTypeCARD

    Swift

    let ZKTransactionTypeCARD: String
  • Unknown error has occured.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeUNKNOWNERROR

    Swift

    let ZKZumoKitErrorCodeUNKNOWNERROR: String
  • No internet connection.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNOCONNECTION

    Swift

    let ZKZumoKitErrorCodeNOCONNECTION: String
  • Requested account not found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeACCOUNTNOTFOUND

    Swift

    let ZKZumoKitErrorCodeACCOUNTNOTFOUND: String
  • Amount not set. Either send max has to be enabled or send max set.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeAMOUNTNOTSET

    Swift

    let ZKZumoKitErrorCodeAMOUNTNOTSET: String
  • Invalid response received from ZumoKit API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeAPISERVICEERROR

    Swift

    let ZKZumoKitErrorCodeAPISERVICEERROR: String
  • Requested card not found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCARDNOTFOUND

    Swift

    let ZKZumoKitErrorCodeCARDNOTFOUND: String
  • Invalid response received from ZumoKit Card Service API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCARDSERVICEERROR

    Swift

    let ZKZumoKitErrorCodeCARDSERVICEERROR: String
  • Requested change account not found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCHANGEACCOUNTNOTFOUND

    Swift

    let ZKZumoKitErrorCodeCHANGEACCOUNTNOTFOUND: String
  • Change output index out of range.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCHANGEINDEXOUTOFRANGE

    Swift

    let ZKZumoKitErrorCodeCHANGEINDEXOUTOFRANGE: String
  • Currency not supported.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeCURRENCYNOTSUPPORTED

    Swift

    let ZKZumoKitErrorCodeCURRENCYNOTSUPPORTED: String
  • Transaction data overflow. Maximum data size supported by RLP encoding exceeds 16000000 bytes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeDATAOVERFLOW

    Swift

    let ZKZumoKitErrorCodeDATAOVERFLOW: String
  • Cannot set data when send max enabled.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeDATAPROVIDEDWHENSENDMAXSET

    Swift

    let ZKZumoKitErrorCodeDATAPROVIDEDWHENSENDMAXSET: String
  • Ethereum transaction data is not supported yet.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeETHEREUMTRANSACTIONDATANOTSUPPORTED

    Swift

    let ZKZumoKitErrorCodeETHEREUMTRANSACTIONDATANOTSUPPORTED: String
  • Invalid account provided. Fiat accounted expected.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeFIATACCOUNTEXPECTED

    Swift

    let ZKZumoKitErrorCodeFIATACCOUNTEXPECTED: String
  • Gas too long. Cumulative gas limit and gas price should not exceed 30 bytes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeGASOVERFLOW

    Swift

    let ZKZumoKitErrorCodeGASOVERFLOW: String
  • Gas too low. Gas price and gas limit should be higher than 0.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeGASTOOLOW

    Swift

    let ZKZumoKitErrorCodeGASTOOLOW: String
  • Change account and source accounts have to be on the same network.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINCOMPATIBLENETWORKTYPES

    Swift

    let ZKZumoKitErrorCodeINCOMPATIBLENETWORKTYPES: String
  • Incorrect account selected. Account does not match the requirements of requested operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINCORRECTACCOUNTSELECTED

    Swift

    let ZKZumoKitErrorCodeINCORRECTACCOUNTSELECTED: String
  • Incorrect change account selected. Change account should be Bitcoin account on the same network as source account

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINCORRECTCHANGEACCOUNTSELECTED

    Swift

    let ZKZumoKitErrorCodeINCORRECTCHANGEACCOUNTSELECTED: String
  • Insufficient funds for transaction value and network fees.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeINSUFFICIENTFUNDSFORTRANSACTION

    Swift

    let ZKZumoKitErrorCodeINSUFFICIENTFUNDSFORTRANSACTION: String
  • Value exceeds maximum 63 bit precision.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINT64OVERFLOW

    Swift

    let ZKZumoKitErrorCodeINT64OVERFLOW: String
  • Account type not supported by the operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDACCOUNTTYPE

    Swift

    let ZKZumoKitErrorCodeINVALIDACCOUNTTYPE: String
  • Destination address is invalid.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDADDRESS

    Swift

    let ZKZumoKitErrorCodeINVALIDADDRESS: String
  • Invalid response received from API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDAPIRESPONSE

    Swift

    let ZKZumoKitErrorCodeINVALIDAPIRESPONSE: String
  • Requested private key derivation path is invalid.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDHDWALLETPATH

    Swift

    let ZKZumoKitErrorCodeINVALIDHDWALLETPATH: String
  • Invalid metadata. Metadata must be a valid JSON.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDMETADATA

    Swift

    let ZKZumoKitErrorCodeINVALIDMETADATA: String
  • Invalid mnemonic phrase.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDMNEMONIC

    Swift

    let ZKZumoKitErrorCodeINVALIDMNEMONIC: String
  • Invalid length of mnemonic phrase. Mnemonic phrase should be 12, 15, 18, 21 or 24 words long.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDMNEMONICWORDCOUNT

    Swift

    let ZKZumoKitErrorCodeINVALIDMNEMONICWORDCOUNT: String
  • Network type not supported by requested operation.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDNETWORKTYPE

    Swift

    let ZKZumoKitErrorCodeINVALIDNETWORKTYPE: String
  • “Incorrect password provided.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDPASSWORD

    Swift

    let ZKZumoKitErrorCodeINVALIDPASSWORD: String
  • “The provided recovery phrase does not correspond to existing wallet.”

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDRECOVERYPHRASE

    Swift

    let ZKZumoKitErrorCodeINVALIDRECOVERYPHRASE: String
  • Invalid transaction type.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDTRANSACTIONTYPE

    Swift

    let ZKZumoKitErrorCodeINVALIDTRANSACTIONTYPE: String
  • Invalid transaction value.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDTRANSACTIONVALUE

    Swift

    let ZKZumoKitErrorCodeINVALIDTRANSACTIONVALUE: String
  • Invalid user token set. User token set should be a valid stringified JSON with accessToken, refreshToken and expiresIn properties.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDUSERTOKENSET

    Swift

    let ZKZumoKitErrorCodeINVALIDUSERTOKENSET: String
  • Invalid response received from WebSocket.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeINVALIDWEBSOCKETRESPONSE

    Swift

    let ZKZumoKitErrorCodeINVALIDWEBSOCKETRESPONSE: String
  • Transaction already submitted.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeKNOWNTRANSACTION

    Swift

    let ZKZumoKitErrorCodeKNOWNTRANSACTION: String
  • No destination address. In case no transaction data is provided, destination address is obligatory.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNODESTINATIONADDRESS

    Swift

    let ZKZumoKitErrorCodeNODESTINATIONADDRESS: String
  • No nominated account found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNONOMINATEDACCOUNTFOUND

    Swift

    let ZKZumoKitErrorCodeNONOMINATEDACCOUNTFOUND: String
  • Requested operation requies existance of a wallet. No wallet was found.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNOWALLETFOUND

    Swift

    let ZKZumoKitErrorCodeNOWALLETFOUND: String
  • Nonce too long. Maximum supported nonce size is 32 bytes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNONCEOVERFLOW

    Swift

    let ZKZumoKitErrorCodeNONCEOVERFLOW: String
  • User session has expired.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeNOTAUTHORIZED

    Swift

    let ZKZumoKitErrorCodeNOTAUTHORIZED: String
  • Insufficient funds to pay the transaction fee.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORFEE

    Swift

    let ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORFEE: String
  • Transaction amount is too small to send after the fee has been deducted.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORTRANSACTION

    Swift

    let ZKZumoKitErrorCodeSENDMAXINSUFFICIENTFUNDSFORTRANSACTION: String
  • Something went wrong signing transaction.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeSIGNINGERROR

    Swift

    let ZKZumoKitErrorCodeSIGNINGERROR: String
  • Transaction amount exceeds maximum precision.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONAMOUNTOVERFLOW

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONAMOUNTOVERFLOW: String
  • Transaction amount too small to send.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONAMOUNTTOOSMALL

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONAMOUNTTOOSMALL: String
  • Invalid response received from ZumoKit Transaction Service API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONSERVICEERROR

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONSERVICEERROR: String
  • Resulting transaction is too large.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeTRANSACTIONTOOLARGE

    Swift

    let ZKZumoKitErrorCodeTRANSACTIONTOOLARGE: String
  • Unspent transaction output could not be signed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeUTXOSIGNINGERROR

    Swift

    let ZKZumoKitErrorCodeUTXOSIGNINGERROR: String
  • Cannot set amount when send max enabled. Set amount to null if trying t send maximum funds.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeAMOUNTPROVIDEDWHENSENDMAXSET

    Swift

    let ZKZumoKitErrorCodeAMOUNTPROVIDEDWHENSENDMAXSET: String
  • Wallet could not be created. Wallet already exists.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorCodeWALLETLIMITEXCEEDED

    Swift

    let ZKZumoKitErrorCodeWALLETLIMITEXCEEDED: String
  • Base ZumoKit error.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeZUMOKITERROR

    Swift

    let ZKZumoKitErrorTypeZUMOKITERROR: String
  • Failure to connect to ZumoKit’s API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeAPICONNECTIONERROR

    Swift

    let ZKZumoKitErrorTypeAPICONNECTIONERROR: String
  • Default error if something goes wrong on our side.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeAPIERROR

    Swift

    let ZKZumoKitErrorTypeAPIERROR: String
  • Failed to authenticate with ZumoKit’s API.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeAUTHENTICATIONERROR

    Swift

    let ZKZumoKitErrorTypeAUTHENTICATIONERROR: String
  • Wallet errors are the most common type of error you should expect to handle. They result when user’s wallet action can’t be performed, e.g. balance too low or invalid wallet password are such errors.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeWALLETERROR

    Swift

    let ZKZumoKitErrorTypeWALLETERROR: String
  • Invalid request errors arise when request to API has invalid parameters.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeINVALIDREQUESTERROR

    Swift

    let ZKZumoKitErrorTypeINVALIDREQUESTERROR: String
  • Too many requests hit the API too quickly.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeRATELIMITERROR

    Swift

    let ZKZumoKitErrorTypeRATELIMITERROR: String
  • Errors triggered when failing to validate arguments, e.g. when a destination address is invalid.

    Declaration

    Objective-C

    extern NSString *const _Nonnull ZKZumoKitErrorTypeINVALIDARGUMENTERROR

    Swift

    let ZKZumoKitErrorTypeINVALIDARGUMENTERROR: String
  • Declaration

    Objective-C

    FOUNDATION_EXPORT NSString *__nonnull const ZumoKitDomain

    Swift

    let ZumoKitDomain: String

userInfo keys