Function getCargoPodsByAuthority
- getCargoPodsByAuthority(connection: Connection, cargoProgram: CargoIDLProgram, authority: PublicKey): Promise<DecodedAccountData<CargoPod>[]>
-
Parameters
-
connection: Connection
-
cargoProgram: CargoIDLProgram
-
authority: PublicKey
Returns Promise<DecodedAccountData<CargoPod>[]>
Get CargoPod accounts owned by the provided authority
Returns
array of Cargo Pods