cargo.api

The .api property will be added to the Cargo instance after calling cargo.init. cargo.api exposes methods that can be called without an Ethereum enabled browser (provider) along with methods that require the Ethereum enabled browser. Methods that require a provider can be called after calling cargo.enable .

Non-provider methods can be called without an Ethereum enabled browser.

Provider methods require that you have an Ethereum enabled browser.