Interface Provider

interface Provider {
    connection: Connection;
    publicKey?: PublicKey;
    wallet?: Wallet;
    send?(tx, signers?, opts?): Promise<string>;
    sendAll?<T>(txWithSigners, opts?): Promise<string[]>;
    sendAndConfirm?(tx, signers?, opts?): Promise<string>;
    simulate?(tx, signers?, commitment?, includeAccounts?): Promise<SuccessfulTxSimulationResponse>;
}

Implemented by

Properties

connection: Connection
publicKey?: PublicKey
wallet?: Wallet

Methods