RPC server refactoring
rpc server now uses spendId
oracle: signature API call now uses spendId