NameServiceProgramTwitterHelper class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
Overwrite the data that is written in the user facing registry
-
changeVerifiedPubkey({required SolanaRPC rpc, required String twitterHandle, required SolAddress currentVerifiedPubkey, required SolAddress newVerifiedPubkey, required SolAddress payerKey})
→ Future<List<TransactionInstruction>>
-
Change the verified pubkey for a given twitter handle
-
-
Signed by the authority, the payer and the verified pubkey
-
Delete the verified registry for a given twitter handle
-
getHandleAndRegistryKey({required SolanaRPC rpc, required SolAddress verifiedPubkey})
→ Future<ReverseTwitterRegistryAccount>
-
-
getTwitterHandleandRegistryKeyViaFilters({required SolanaRPC rpc, required SolAddress verifiedPubkey})
→ Future<ReverseTwitterRegistryAccount>
-
Uses the RPC node filtering feature, execution speed may vary
-
-
Uses the RPC node filtering feature, execution speed may vary
Does not give you the handle, but is an alternative to getHandlesAndKeysFromVerifiedPubkey + getTwitterRegistry to get the data