salt-sdk
    Preparing search index...

    Type Alias EnvironmentConfig

    A configuration for a specific environment. For most purposes simply specifying 'MAINNET' or 'TESTNET' as your Environment is sufficient, but you can also specify a custom configuration if needed.

    Salt

    type EnvironmentConfig = {
        apiUrl: string;
        chainId: SupportedChainId;
        saltDomain: string;
        websocketUrl: string;
    }
    Index

    Properties

    apiUrl: string

    URI for the API server, including protocol

    https://testnet.salt.space/api
    

    The ID of the orcehstration chain. For testnet, this is 421614 (Arbitrum Sepolia)

    421614
    
    saltDomain: string

    The FQDN for the client, with no protocol

    testnet.salt.space/api
    
    websocketUrl: string

    The URL for the websocket server, used for account setup and transaction signing

    https://testnet.salt.space/api